2009-02-24 06:13:11 +00:00
|
|
|
# Template file for 'ncurses-devel'.
|
|
|
|
#
|
2009-11-22 07:31:44 +00:00
|
|
|
short_desc="${sourcepkg} development files"
|
2009-02-24 06:13:11 +00:00
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains files for development: headers, static libs, etc."
|
|
|
|
|
2009-11-22 07:31:44 +00:00
|
|
|
revision=2
|
2009-02-24 06:13:11 +00:00
|
|
|
Add_dependency run ncurses
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2009-03-11 05:31:56 +00:00
|
|
|
mkdir -p ${DESTDIR}/usr/lib
|
|
|
|
mkdir -p ${DESTDIR}/usr/bin
|
|
|
|
mkdir -p ${DESTDIR}/usr/share/man
|
2009-02-24 06:13:11 +00:00
|
|
|
|
2009-03-11 05:31:56 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
|
2009-10-09 08:07:40 +00:00
|
|
|
cd ${DESTDIR}/usr/lib && \
|
|
|
|
ln -s ../../lib/libncurses.so.5 libncurses.so && \
|
|
|
|
ln -s libncurses.so libcurses.so
|
2009-03-11 05:31:56 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/bin/ncurses5* ${DESTDIR}/usr/bin
|
2009-02-24 06:13:11 +00:00
|
|
|
}
|