void-packages/templates/binutils/base.template
Juan RP b063ab2b54 binutils, gawk, gcc: add missing base subpkg.
--HG--
extra : convert_revision : e65fc368499c6124b1cf7963d830f64c05953b6c
2009-02-20 18:09:54 +01:00

19 lines
574 B
Text

# Template file for 'binutils-base'.
#
short_desc="${short_desc} (base files)"
long_desc="${long_desc}
This package contains the ${sourcepkg} base programs and libraries."
run_depends="glibc-2.8"
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
mkdir -p ${destdir}/usr/lib
mv ${origdir}/usr/bin ${destdir}/usr
mv ${origdir}/usr/lib/libbfd-${version}.so ${destdir}/usr/lib
mv ${origdir}/usr/lib/libopcodes-${version}.so ${destdir}/usr/lib
mv ${origdir}/usr/lib/ldscripts ${destdir}/usr/lib
}