vp-build/srcpkgs/ncursesw/ncursesw-devel.template
Juan RP e254e2f7f0 Added ncursesw-5.7 build template.
--HG--
extra : convert_revision : 6486ec973735de53e460a752f7a718aada4baed3
2009-12-05 05:16:40 +01:00

22 lines
580 B
Plaintext

# Template file for 'ncursesw-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development: headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run ncurses-devel
Add_dependency run ncursesw
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
cd ${DESTDIR}/usr/lib && ln -s libncursesw.so.5 libncursesw.so
mv ${SRCPKGDESTDIR}/usr/bin/ncursesw5* ${DESTDIR}/usr/bin
}