void-packages/templates/binutils/dev.template
Juan RP 5939c1dbd4 binutils: converted to subpkgs.
--HG--
extra : convert_revision : b13640fb0e5be76c90b3920359597fc4a40a141e
2009-02-20 07:18:26 +01:00

22 lines
611 B
Text

# Template file for 'binutils-dev'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
run_depends="binutils-2.19"
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
for f in libopcodes libbfd libiberty; do
mv ${origdir}/usr/lib/${f}.*a ${destdir}/usr/lib
if [ -f ${origdir}/usr/lib/${f}.so ]; then
mv ${origdir}/usr/lib/${f}.so ${destdir}/usr/lib
fi
done
}