1b358afeaf
Also introduce "libs.depends", that adds a rundep of a package with a proper version. This is to avoid modifying all dependent packages if there's an API/ABI change. --HG-- extra : convert_revision : a46b11b8e9187bdb2bfc954ad5ff40ecd9c0fe31
18 lines
476 B
Text
18 lines
476 B
Text
# Template file for 'ncurses-dev'.
|
|
#
|
|
short_desc="${short_desc} (development files)"
|
|
long_desc="${long_desc}
|
|
|
|
This package contains files for development, headers, static libs, etc."
|
|
|
|
. ${XBPS_TEMPLATESDIR}/ncurses/libs.depends
|
|
|
|
do_install()
|
|
{
|
|
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
|
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
|
|
|
mkdir -p ${destdir}/usr/lib
|
|
mv ${origdir}/usr/include ${destdir}/usr
|
|
mv ${origdir}/usr/lib/lib*.*a ${destdir}/usr/lib
|
|
}
|