void-packages/templates/gcc/libgcc.template
Juan RP a0ee2ee61b gcc-libgcc: set $install_priority to 50, just after xbps-base-dirs.
--HG--
extra : convert_revision : 02e61cff2e245e1f10a70bda321273ebb74ee9f5
2009-02-26 16:53:30 +01:00

16 lines
399 B
Text

# Template file for 'gcc-libgcc'.
#
short_desc="GCC version ${version} shared library support"
long_desc="${long_desc}
This package contains the GCC shared library."
install_priority=50
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
mkdir -p ${destdir}/usr/lib
mv ${origdir}/usr/lib/libgcc_s.so* ${destdir}/usr/lib
}