kernel-libc-headers: remove .install/..install.cmd files, install scsi/scsi.h. Bumprev.

This commit is contained in:
Juan RP 2010-10-24 09:02:46 +02:00
parent 2fdfe60593
commit 2bebdf320d

View file

@ -2,14 +2,29 @@
. ${XBPS_SRCPKGDIR}/kernel/common-vars . ${XBPS_SRCPKGDIR}/kernel/common-vars
pkgname=kernel-libc-headers pkgname=kernel-libc-headers
revision=1 revision=2
build_style=only-install build_style=custom-install
make_install_target="
INSTALL_HDR_PATH=$XBPS_DESTDIR/$pkgname-$version/usr
headers_install"
short_desc="The Linux kernel headers for development" short_desc="The Linux kernel headers for development"
long_desc=" long_desc="
This package provides the linux kernel headers for use in userspace." This package provides the linux kernel headers for use in userspace."
base_chroot=yes base_chroot=yes
nostrip=yes nostrip=yes
do_build()
{
make headers_check || return 1
}
do_install()
{
make INSTALL_HDR_PATH=${DESTDIR}/usr headers_install || return 1
# Install scsi/scsi.h header, required by eject and others.
install -m644 ${wrksrc}/include/scsi/scsi.h ${DESTDIR}/usr/include/scsi
}
post_install()
{
# Remove unused files.
rm -f $(find ${DESTDIR}/usr/include -name .install -or -name ..install.cmd)
}