void-packages/templates/glibc/dev.template
Juan RP f788c5f3f6 glibc: converted to subpkgs, don't build/install all locales.
--HG--
extra : convert_revision : 808d308c646e2c8e07e97435983ef377a64ad5da
2009-02-21 02:18:23 +01:00

17 lines
461 B
Text

# Template file for 'glibc-dev'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
run_depends="glibc-libs-${version}"
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/*.a ${destdir}/usr/lib
}