ncurses: enable tinfo
Closes: #11718 Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
212862b869
commit
ea207d9177
2 changed files with 18 additions and 17 deletions
|
@ -79,6 +79,10 @@ libpanelw.so.5 ncurses-libs-5.9_13 ignore
|
||||||
libpanelw.so.6 ncurses-libs-5.8_1 ignore
|
libpanelw.so.6 ncurses-libs-5.8_1 ignore
|
||||||
libmenuw.so.5 ncurses-libs-5.9_13 ignore
|
libmenuw.so.5 ncurses-libs-5.9_13 ignore
|
||||||
libmenuw.so.6 ncurses-libs-5.8_1 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
|
libobjc.so.4 libobjc-4.7.3_12
|
||||||
libgomp.so.1 libgomp-4.4.0_1
|
libgomp.so.1 libgomp-4.4.0_1
|
||||||
libgps.so.24 gpsd-3.18.1_1
|
libgps.so.24 gpsd-3.18.1_1
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
# Template build file for 'ncurses'.
|
# Template file for 'ncurses'
|
||||||
pkgname=ncurses
|
pkgname=ncurses
|
||||||
version=6.1
|
version=6.1
|
||||||
revision=2
|
revision=3
|
||||||
short_desc="A System V Release 4.0 curses emulation library"
|
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>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
homepage="http://www.gnu.org/software/ncurses/"
|
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
homepage="http://www.gnu.org/software/ncurses/"
|
||||||
distfiles="${GNU_SITE}/ncurses/$pkgname-$version.tar.gz"
|
distfiles="${GNU_SITE}/ncurses/$pkgname-$version.tar.gz"
|
||||||
checksum=aa057eeeb4a14d470101eff4597d5833dcef5965331be3528c08d99cebaa0d17
|
checksum=aa057eeeb4a14d470101eff4597d5833dcef5965331be3528c08d99cebaa0d17
|
||||||
|
|
||||||
|
@ -22,24 +26,15 @@ do_configure() {
|
||||||
export BUILD_CFLAGS="$BUILD_CFLAGS -fPIC"
|
export BUILD_CFLAGS="$BUILD_CFLAGS -fPIC"
|
||||||
|
|
||||||
mkdir -p ncurses-build ncursesw-build
|
mkdir -p ncurses-build ncursesw-build
|
||||||
|
|
||||||
cd ${wrksrc}/ncursesw-build
|
cd ${wrksrc}/ncursesw-build
|
||||||
# widec build
|
# widec build
|
||||||
../configure ${configure_args} \
|
../configure ${configure_args} \
|
||||||
--enable-widec --with-shared --without-debug \
|
--enable-widec --enable-ext-colors \
|
||||||
--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 \
|
|
||||||
BUILD_CFLAGS="$BUILD_CFLAGS"
|
BUILD_CFLAGS="$BUILD_CFLAGS"
|
||||||
|
|
||||||
cd ${wrksrc}/ncurses-build
|
cd ${wrksrc}/ncurses-build
|
||||||
# non-widec build
|
# non-widec build
|
||||||
../configure ${configure_args} --with-shared \
|
../configure ${configure_args} \
|
||||||
--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 \
|
|
||||||
BUILD_CFLAGS="$BUILD_CFLAGS"
|
BUILD_CFLAGS="$BUILD_CFLAGS"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,9 +73,11 @@ do_install() {
|
||||||
cd ${wrksrc}/ncurses-build
|
cd ${wrksrc}/ncurses-build
|
||||||
install -Dm755 lib/libncurses.so.${version} \
|
install -Dm755 lib/libncurses.so.${version} \
|
||||||
${DESTDIR}/usr/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.
|
# 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 \
|
ln -sfr ${DESTDIR}/usr/lib/lib${f}w.so.6 \
|
||||||
${DESTDIR}/usr/lib/lib${f}w.so.5
|
${DESTDIR}/usr/lib/lib${f}w.so.5
|
||||||
done
|
done
|
||||||
|
@ -93,7 +90,7 @@ do_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ncurses-libs_package() {
|
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"
|
short_desc+=" -- shared libraries"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so.*"
|
vmove "usr/lib/*.so.*"
|
||||||
|
|
Loading…
Reference in a new issue