ncurses: enable tinfo

Closes: #11718

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-05-16 15:25:56 +02:00
parent 212862b869
commit ea207d9177
No known key found for this signature in database
GPG key ID: DE55AD8DBEBB4EE8
2 changed files with 18 additions and 17 deletions

View file

@ -79,6 +79,10 @@ libpanelw.so.5 ncurses-libs-5.9_13 ignore
libpanelw.so.6 ncurses-libs-5.8_1 ignore
libmenuw.so.5 ncurses-libs-5.9_13 ignore
libmenuw.so.6 ncurses-libs-5.8_1 ignore
libtinfow.so.6 ncurses-libs-6.1_3 ignore
libtinfow.so.5 ncurses-libs-6.1_3 ignore
libtinfo.so.6 ncurses-libs-6.1_3 ignore
libtinfo.so.5 ncurses-libs-6.1_3 ignore
libobjc.so.4 libobjc-4.7.3_12
libgomp.so.1 libgomp-4.4.0_1
libgps.so.24 gpsd-3.18.1_1

View file

@ -1,11 +1,15 @@
# Template build file for 'ncurses'.
# Template file for 'ncurses'
pkgname=ncurses
version=6.1
revision=2
short_desc="A System V Release 4.0 curses emulation library"
revision=3
configure_args="--with-shared --without-debug --with-manpage-symlinks
--with-manpage-format=normal --with-termlib --without-ada --without-tests
--enable-pc-files --with-pkg-config-libdir=/usr/lib/pkgconfig
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config"
short_desc="System V Release 4.0 curses emulation library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://www.gnu.org/software/ncurses/"
license="MIT"
homepage="http://www.gnu.org/software/ncurses/"
distfiles="${GNU_SITE}/ncurses/$pkgname-$version.tar.gz"
checksum=aa057eeeb4a14d470101eff4597d5833dcef5965331be3528c08d99cebaa0d17
@ -22,24 +26,15 @@ do_configure() {
export BUILD_CFLAGS="$BUILD_CFLAGS -fPIC"
mkdir -p ncurses-build ncursesw-build
cd ${wrksrc}/ncursesw-build
# widec build
../configure ${configure_args} \
--enable-widec --with-shared --without-debug \
--with-manpage-symlinks --with-manpage-format=normal \
--without-ada --enable-ext-colors \
--without-tests --enable-pc-files \
--with-pkg-config-libdir=/usr/lib/pkgconfig \
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config \
--enable-widec --enable-ext-colors \
BUILD_CFLAGS="$BUILD_CFLAGS"
cd ${wrksrc}/ncurses-build
# non-widec build
../configure ${configure_args} --with-shared \
--without-debug --without-ada --without-tests \
--enable-pc-files --with-pkg-config-libdir=/usr/lib/pkgconfig \
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config \
../configure ${configure_args} \
BUILD_CFLAGS="$BUILD_CFLAGS"
}
@ -78,9 +73,11 @@ do_install() {
cd ${wrksrc}/ncurses-build
install -Dm755 lib/libncurses.so.${version} \
${DESTDIR}/usr/lib/libncurses.so.${version}
install -Dm755 lib/libtinfo.so.${version} \
${DESTDIR}/usr/lib/libtinfo.so.${version}
# Create compat symlinks.
for f in ncurses form panel menu; do
for f in ncurses form panel menu tinfo; do
ln -sfr ${DESTDIR}/usr/lib/lib${f}w.so.6 \
${DESTDIR}/usr/lib/lib${f}w.so.5
done
@ -93,7 +90,7 @@ do_install() {
}
ncurses-libs_package() {
shlib_provides="libformw.so.5 libmenuw.so.5 libpanelw.so.5 libncursesw.so.5"
shlib_provides="libformw.so.5 libmenuw.so.5 libpanelw.so.5 libncursesw.so.5 libtinfow.so.5"
short_desc+=" -- shared libraries"
pkg_install() {
vmove "usr/lib/*.so.*"