e0030bc0fe
- Added an additional shell func to add full (build/run), build or run time dependencies to packages. An optional third parameter can be used to specify other version than the one set in the depends file. - Use a "depends" file in package directory to specify minimum required ABI/API version for a package, so that there's no need to set the version all the time in pkgs. - Updated bash to 4.0. --HG-- extra : convert_revision : 1aa0ce32d4bdc2cd371eac19ae7bcff2c986b6b3
25 lines
687 B
Plaintext
25 lines
687 B
Plaintext
# Template file for 'ncurses-devel'.
|
|
#
|
|
short_desc="${short_desc} (development files)"
|
|
long_desc="${long_desc}
|
|
|
|
This package contains files for development: headers, static libs, etc."
|
|
|
|
Add_dependency run ncurses
|
|
|
|
do_install()
|
|
{
|
|
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
|
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
|
|
|
mkdir -p ${destdir}/usr/lib
|
|
mkdir -p ${destdir}/usr/bin
|
|
mkdir -p ${destdir}/usr/share/man
|
|
|
|
mv ${origdir}/usr/include ${destdir}/usr
|
|
mv ${origdir}/usr/lib/lib*.*a ${destdir}/usr/lib
|
|
mv ${origdir}/usr/lib/lib*.so ${destdir}/usr/lib
|
|
mv ${origdir}/usr/share/man/man3 ${destdir}/usr/share/man
|
|
mv ${origdir}/usr/bin/ncurses5* ${destdir}/usr/bin
|
|
}
|