2009-02-24 07:13:11 +01:00
|
|
|
# Template file for 'ncurses-devel'.
|
|
|
|
#
|
2012-05-23 18:26:56 +02:00
|
|
|
depends="glibc-devel ncurses"
|
2009-11-22 08:31:44 +01:00
|
|
|
short_desc="${sourcepkg} development files"
|
2009-02-24 07:13:11 +01:00
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains files for development: headers, static libs, etc."
|
|
|
|
|
2011-02-27 14:51:11 +01:00
|
|
|
replaces="ncursesw-devel>=0"
|
2009-02-24 07:13:11 +01:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2009-03-11 06:31:56 +01:00
|
|
|
mkdir -p ${DESTDIR}/usr/lib
|
|
|
|
mkdir -p ${DESTDIR}/usr/bin
|
2011-02-27 14:51:11 +01:00
|
|
|
mkdir -p ${DESTDIR}/usr/share/man/man1
|
2009-02-24 07:13:11 +01:00
|
|
|
|
2009-03-11 06:31:56 +01:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
2011-02-27 14:51:11 +01:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
|
2009-03-11 06:31:56 +01:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
2011-02-27 14:51:11 +01:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/bin/ncursesw6-config ${DESTDIR}/usr/bin
|
|
|
|
ln -sf ../../usr/bin/ncursesw6-config \
|
|
|
|
${DESTDIR}/usr/bin/ncursesw5-config
|
|
|
|
ln -sf ../../usr/bin/ncursesw6-config \
|
|
|
|
${DESTDIR}/usr/bin/ncurses5-config
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man1/ncursesw6-config.1* \
|
|
|
|
${DESTDIR}/usr/share/man/man1
|
2009-02-24 07:13:11 +01:00
|
|
|
}
|