void-packages/srcpkgs/glibc/glibc-devel.template

23 lines
640 B
Plaintext

# Template file for 'glibc-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development: headers, static libs, etc."
revision=2
Add_dependency run kernel-libc-headers
Add_dependency run glibc
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*crt1.o ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/info ${DESTDIR}/usr/share
# Remove scsi.h, it's installed by kernel-libc-headers.
rm -f ${DESTDIR}/usr/include/scsi/scsi.h
}