summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-08-29 14:10:44 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-08-29 14:10:44 -0300
commit851936e397e259c5b6ef12837c2b624fcd8003ec (patch)
tree3b96b6be54d4b9aba5235b762b591b5f250e38ba /cross
parent7b5f5a5e83341d02f22816d9b4c0494703c3b094 (diff)
downloadabslibre-851936e397e259c5b6ef12837c2b624fcd8003ec.tar.gz
abslibre-851936e397e259c5b6ef12837c2b624fcd8003ec.tar.bz2
abslibre-851936e397e259c5b6ef12837c2b624fcd8003ec.zip
linux-libre-headers for mips64el upgrade
Diffstat (limited to 'cross')
-rw-r--r--cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD36
1 files changed, 21 insertions, 15 deletions
diff --git a/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD b/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD
index 6f4b12fef..91084085d 100644
--- a/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD
+++ b/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 165111 2012-08-11 08:21:11Z allan $
+# $Id: PKGBUILD 180857 2013-03-27 11:11:40Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
@@ -8,40 +8,46 @@ _target=mips64el-unknown-linux-gnu
_sysroot="/usr/${_target}"
pkgname=${_target}-linux-libre-api-headers
-_basekernel=3.5
-_sublevel=1
+_basekernel=3.10
+_sublevel=9
pkgver=${_basekernel}.${_sublevel}
-pkgrel=1.1
+pkgrel=1
pkgdesc="Kernel headers sanitized for use in userspace"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/libc"
license=('GPL2')
-provides=("${_target}-linux-api-headers=${pkgver}" "${_target}-kernel-headers=${pkgver}")
-conflicts=("${_target}-linux-api-headers" "${_target}-kernel-headers")
-replaces=("${_target}-linux-api-headers" "${_target}-kernel-headers")
+provides=("${_target}-linux-api-headers=${pkgver}")
+conflicts=("${_target}-linux-api-headers")
+replaces=("${_target}-linux-api-headers" )
source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz"
"http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/patch-${_basekernel}-gnu-${pkgver}-gnu.xz")
-md5sums=('2407fc9563a74acaf38aa0c06516eb1c'
- '67b650dd355fbca16035510df063420b')
+sha1sums=('22abb16dc6175bab805f2098c5a276ff700424cf'
+ '10f907e7127f14e1a7f524d1d39852d98622793f')
+sha256sums=('abee814b92422cfa3df90b62ad9ba888697fcc03a713adc2c7f68e0d0c23c329'
+ 'd5bc5369b102dae74f0cbaeba19a6db1d0d919645672a16208b06a71aab1de1b')
-build() {
+prepare() {
cd ${srcdir}/linux-${_basekernel}
if [ "${_basekernel}" != "${pkgver}" ]; then
patch -Np1 -i "${srcdir}/patch-${_basekernel}-gnu-${pkgver}-gnu"
fi
+}
+
+build() {
+ cd ${srcdir}/linux-${_basekernel}
make mrproper
- make headers_check
+ make ARCH=${ARCH} headers_check
}
package() {
cd ${srcdir}/linux-${_basekernel}
- make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir}${_sysroot}/usr headers_install
+ make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir}${_sysroot} headers_install
# use headers from libdrm
- rm -rf ${pkgdir}/usr/include/drm
-
+ rm -r ${pkgdir}${_sysroot}/include/drm
+
# clean-up unnecessary files generated during install
- find ${pkgdir} -name .install -or -name ..install.cmd -print0 | xargs -0 rm -f
+ find ${pkgdir} \( -name .install -o -name ..install.cmd \) -delete
}