diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-12-17 21:06:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-12-17 21:06:29 +0000 |
commit | 7b94ffd1a69a7add8bc823715f6f52feefe1cb81 (patch) | |
tree | cb271fdc4ec921fd3733cb958850b4f00082b051 /main/ncurses/APKBUILD | |
parent | 1f75c858b89e165cc905357e65e7a3b2d97c1c75 (diff) | |
download | aports-7b94ffd1a69a7add8bc823715f6f52feefe1cb81.tar.bz2 aports-7b94ffd1a69a7add8bc823715f6f52feefe1cb81.tar.xz |
main/ncurses: add wrappers for non-widec libs
some programs wants to link against -lncurses. We provide wrappers to
force link against the widechar library instead.
Diffstat (limited to 'main/ncurses/APKBUILD')
-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 |