2009-02-24 07:13:11 +01:00
|
|
|
# Template file for 'glibc-devel'.
|
2009-02-21 02:18:23 +01:00
|
|
|
#
|
|
|
|
short_desc="${short_desc} (development files)"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
2009-02-24 07:13:11 +01:00
|
|
|
This package contains files for development: headers, static libs, etc."
|
2009-02-22 05:57:13 +01:00
|
|
|
|
2010-01-18 19:56:17 +01:00
|
|
|
revision=1
|
|
|
|
|
|
|
|
Add_dependency run kernel-libc-headers
|
2009-02-24 07:13:11 +01:00
|
|
|
Add_dependency run glibc
|
2009-02-21 02:18:23 +01:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2010-01-18 19:56:17 +01:00
|
|
|
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share
|
2009-03-11 06:31:56 +01:00
|
|
|
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
|
2010-01-18 19:56:17 +01:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/info ${DESTDIR}/usr/share
|
2009-10-04 19:08:00 +02:00
|
|
|
|
|
|
|
# Remove scsi.h, it's installed by kernel-libc-headers.
|
|
|
|
rm -f ${DESTDIR}/usr/include/scsi/scsi.h
|
2009-02-21 02:18:23 +01:00
|
|
|
}
|