New package: cross-mipsel-softfloat-linux-gnu-libc-headers-3.7.1.
This commit is contained in:
parent
a476a95c4f
commit
f396bcd996
1 changed files with 29 additions and 0 deletions
|
@ -0,0 +1,29 @@
|
|||
# Template file for 'cross-mipsel-softfloat-linux-gnu-libc-headers'
|
||||
#
|
||||
_triplet=mipsel-softfloat-linux-gnu
|
||||
pkgname=cross-${_triplet}-libc-headers
|
||||
version=3.7.1
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc=linux-${version}
|
||||
short_desc="The Linux libc headers for ${_triplet} target"
|
||||
license="GPL-2"
|
||||
homepage="http://www.kernel.org"
|
||||
distfiles="http://www.kernel.org/pub/linux/kernel/v3.x/linux-${version}.tar.xz"
|
||||
checksum=e1ca8b8376ebdf797357f5f1734ed6eed3cadc16c32d280a780f150372de7255
|
||||
if [ -n "$IN_CHROOT" ]; then
|
||||
makedepends="perl"
|
||||
fi
|
||||
|
||||
do_build() {
|
||||
make mrproper
|
||||
make ARCH=mips headers_check
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make ARCH=mips INSTALL_HDR_PATH=${DESTDIR}/usr/${_triplet}/usr headers_install
|
||||
# Remove unused files.
|
||||
rm -f $(find ${DESTDIR}/usr/${_triplet}/usr/include -name .install -or -name ..install.cmd)
|
||||
# Remove drm headers, use libdrm.
|
||||
rm -rf ${DESTDIR}/usr/${_triplet}/usr/include/drm
|
||||
}
|
Loading…
Reference in a new issue