ncurses: switch to /usr.

This commit is contained in:
Juan RP 2012-07-09 16:58:42 +02:00
parent 4071e22ab8
commit 567ba33193

View file

@ -1,12 +1,13 @@
# Template build file for 'ncurses'.
pkgname=ncurses
version=5.9
distfiles="http://ftp.gnu.org/pub/gnu/ncurses/$pkgname-$version.tar.gz"
revision=3
revision=4
subpackages="ncurses-base ncurses-devel ncurses-libs ncurses-term"
short_desc="A System V Release 4.0 curses emulation library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/ncurses/"
license="MIT"
distfiles="http://ftp.gnu.org/pub/gnu/ncurses/$pkgname-$version.tar.gz"
checksum=9046298fb440324c9d4135ecea7879ffed8546dd1b58e59430ea07a4633f563b
long_desc="
The ncurses (new curses) library is a freeware emulation of System V Release
@ -17,8 +18,6 @@ long_desc="
ecompiler infocmp, clear, tput, tset, and a termcap conversion tool captoinfo.
Full manual pages are provided for the library and tools."
subpackages="ncurses-base ncurses-devel ncurses-libs ncurses-term"
do_build() {
mkdir ncurses-build ncursesw-build
cd ${wrksrc}/ncursesw-build
@ -51,10 +50,6 @@ do_install() {
done
ln -sf libncurses++w.a ${DESTDIR}/usr/lib/libncurses++.a
# install tput to /bin
install -dm755 ${DESTDIR}/bin/
mv ${DESTDIR}/usr/bin/tput ${DESTDIR}/bin/tput
# Some packages look for -lcurses during build
rm -f ${DESTDIR}/usr/lib/libcursesw.so
echo "INPUT(-lncursesw)" >${DESTDIR}/usr/lib/libcursesw.so