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