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