|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
pkgname=ncurses
|
|
|
|
|
pkgver=5.7
|
|
|
|
|
pkgrel=2
|
|
|
|
|
pkgrel=2.1
|
|
|
|
|
pkgdesc="System V Release 4.0 curses emulation library"
|
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
|
url="http://www.gnu.org/software/ncurses/"
|
|
|
|
@ -47,9 +47,10 @@ build() {
|
|
|
|
|
ln -sf libncurses.a ${pkgdir}/usr/lib/libcurses.a
|
|
|
|
|
|
|
|
|
|
# Install libncurses.so.5 for external binary support
|
|
|
|
|
[ $CARCH = "x86_64" ] && CONFIGFLAG="--with-chtype=long"
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--with-shared --with-normal --without-debug --without-ada \
|
|
|
|
|
--with-install-prefix=${pkgdir}
|
|
|
|
|
--with-install-prefix=${pkgdir} $CONFIGFLAG
|
|
|
|
|
make || return 1
|
|
|
|
|
|
|
|
|
|
install -Dm755 lib/libncurses.so.${pkgver} ${pkgdir}/usr/lib/libncurses.so.${pkgver}
|
|
|
|
|