vp-build/srcpkgs/glibc/glibc-devel.template
Juan RP 9904b03465 glibc: some fixes to improve nscd and nsswitch.conf.
* nsswitch.conf: enable nss_mdns by default. Won't do any harm if
  it's not installed.
* Moved info files to -devel subpkgs, where they belong.
* nscd.conf: removed debug-level that made a lot of spam.

Bump revision for involved pkgs.

--HG--
extra : convert_revision : ac0615ffd29ca5e8712ca456db76f5f0c542f89c
2010-01-18 19:56:17 +01:00

25 lines
694 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 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/*.so ${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
}