diff options
Diffstat (limited to 'main/ncurses')
-rw-r--r-- | main/ncurses/APKBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD index b9a2a79be0..b1da826c3b 100644 --- a/main/ncurses/APKBUILD +++ b/main/ncurses/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ncurses pkgver=6.0 -pkgrel=3 +pkgrel=4 pkgdesc="Console display library" url="http://www.gnu.org/software/ncurses/" arch="all" @@ -61,6 +61,15 @@ package() { done } +dev() { + default_dev + # force link against *w.so + for lib in ncurses ncurses++ form panel menu; do + echo "INPUT(-l${lib}w)" > "$subpkgdir"/usr/lib/lib${lib}.so + ln -s ${lib}w.pc "$subpkgdir"/usr/lib/pkgconfig/${lib}.pc + done +} + terminfo() { depends="$pkgname-terminfo-base" rm -rf $subpkgdir |