vp-build/templates/glibc/devel.template
Juan RP 17ec7bc208 glibc-devel: remove conflicting /usr/include/scsi/scsi.h.
The same header is installed by kernel-libc-headers and seems to
be the required one for packages using it. Bump revision.

--HG--
extra : convert_revision : fb371fb4d28ac44515849cd57bed15667bc92fd9
2009-10-04 19:08:00 +02:00

23 lines
577 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=1
Add_dependency run glibc
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*crt1.o ${DESTDIR}/usr/lib
# Remove scsi.h, it's installed by kernel-libc-headers.
rm -f ${DESTDIR}/usr/include/scsi/scsi.h
}