summaryrefslogtreecommitdiff
path: root/system/ncurses
diff options
context:
space:
mode:
Diffstat (limited to 'system/ncurses')
-rw-r--r--system/ncurses/APKBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/system/ncurses/APKBUILD b/system/ncurses/APKBUILD
index 6e30b566a..1a091ec5c 100644
--- a/system/ncurses/APKBUILD
+++ b/system/ncurses/APKBUILD
@@ -2,7 +2,7 @@
pkgname=ncurses
pkgver=6.1_p20180609
_ver=${pkgver%_p*}-${pkgver#*_p}
-pkgrel=2
+pkgrel=3
pkgdesc="Console display library"
url="https://invisible-island.net/ncurses/ncurses.html"
arch="all"
@@ -28,6 +28,7 @@ build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
+ --libdir=/lib \
--mandir=/usr/share/man \
--without-ada \
--without-tests \
@@ -67,12 +68,12 @@ dev() {
default_dev
# force link against *w.so
for lib in ncurses ncurses++ form panel menu tinfo; do
- echo "INPUT(-l${lib}w)" > "$subpkgdir"/usr/lib/lib${lib}.so
+ echo "INPUT(-l${lib}w)" > "$subpkgdir"/lib/lib${lib}.so
ln -s ${lib}w.pc "$subpkgdir"/usr/lib/pkgconfig/${lib}.pc
done
# link curses -> ncurses
- echo "INPUT(-lncursesw)" > "$subpkgdir"/usr/lib/libcursesw.so
- ln -s libncurses.so "$subpkgdir"/usr/lib/libcurses.so
+ echo "INPUT(-lncursesw)" > "$subpkgdir"/lib/libcursesw.so
+ ln -s libncurses.so "$subpkgdir"/lib/libcurses.so
}
terminfo() {
@@ -88,8 +89,8 @@ libs() {
depends="$pkgname-terminfo-base"
provides="ncurses-widec-libs=$pkgver-r$pkgrel"
- mkdir -p "$subpkgdir"/usr/
- mv "$pkgdir"/usr/lib "$subpkgdir"/usr/
+ mkdir -p "$subpkgdir"
+ mv "$pkgdir"/lib "$subpkgdir"/
}
base() {
@@ -100,8 +101,8 @@ base() {
static() {
pkgdesc="Static libraries for the ncurses library"
- mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/
+ mkdir -p "$subpkgdir"/lib
+ mv "$pkgdir"/lib/*.a "$subpkgdir"/lib/
}
sha512sums="616975a1ef61ca6efb68c9411fb4d310f5472f4f58c277afaecacc42e2186358dbda1831f8d2f9fe5ef98ecabd8c3ea0e618762450e9cf99b92230277bca480c ncurses-6.1-20180609.tgz"