diff options
author | Laurent Bercot <ska-adelie@skarnet.org> | 2018-08-16 14:54:01 +0000 |
---|---|---|
committer | Laurent Bercot <ska-adelie@skarnet.org> | 2018-08-16 14:54:01 +0000 |
commit | 487d3ea380ad8c249ea9a66a6038bd93bbb664bf (patch) | |
tree | 9c87d865e3cd8c214b6bc02a648b9ea4062e89dc /system/linux-headers/APKBUILD | |
parent | c19b214e78197bf1a6577ffc35a5232dcf687ab9 (diff) | |
parent | 582584d7bcffdb6ad70221c41f0b1b0765cfe00d (diff) | |
download | packages-487d3ea380ad8c249ea9a66a6038bd93bbb664bf.tar.gz packages-487d3ea380ad8c249ea9a66a6038bd93bbb664bf.tar.bz2 packages-487d3ea380ad8c249ea9a66a6038bd93bbb664bf.tar.xz packages-487d3ea380ad8c249ea9a66a6038bd93bbb664bf.zip |
Merge branch 'master' of code.foxkit.us:adelie/packages
Diffstat (limited to 'system/linux-headers/APKBUILD')
-rw-r--r-- | system/linux-headers/APKBUILD | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/system/linux-headers/APKBUILD b/system/linux-headers/APKBUILD deleted file mode 100644 index 7beaa2272..000000000 --- a/system/linux-headers/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Maintainer: Adelie Platform Group <adelie-devel@lists.adelielinux.org> -pkgname=linux-headers -pkgver=4.14.48 -pkgrel=8 -pkgdesc="Linux system headers" -url="https://kernel.org" -arch="all" -options="!check !dbg !strip !tracedeps" # Headers only -license="GPL-2.0-only" -makedepends="perl" -source="https://kernel.org/pub/linux/kernel/v4.x/linux-4.14.tar.xz - https://distfiles.adelielinux.org/source/linux-4.14-mc$pkgrel.patch.xz - revert-broken-uapi.patch - " -builddir="$srcdir/linux-4.14" - -prepare() { - cd "$srcdir" - cat linux-4.14-mc$pkgrel.patch.xz | unxz -> linux-4.14-mc$pkgrel.patch - cd "$builddir" - patch -Np1 <../linux-4.14-mc$pkgrel.patch - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -package() { - local _carch=$CARCH - - case "$_carch" in - aarch64*) _carch="arm64" ;; - arm*) _carch="arm" ;; - mips*) _carch="mips" ;; - s390*) _carch="s390" ;; - ppc*) _carch="powerpc" ;; - pmmx) _carch="x86" ;; - esac - - cd "$builddir" - mkdir -p "$pkgdir/usr" - make headers_install ARCH="${_carch}" INSTALL_HDR_PATH="$pkgdir/usr" - - find "$pkgdir/usr" \( -name .install -o -name ..install.cmd \) -exec \ - rm -f {} \; - - # provided by libdrm - rm -rf "$pkgdir"/usr/include/drm -} - -sha512sums="77e43a02d766c3d73b7e25c4aafb2e931d6b16e870510c22cef0cdb05c3acb7952b8908ebad12b10ef982c6efbe286364b1544586e715cf38390e483927904d8 linux-4.14.tar.xz -3fe2da1714cc83d909ba43d27c7f22ef4f2a6ecfd91ff81e0e141a0dd742ec78ad11392186871762f410615ae7c7f33dd814e0f194c7f7aed1dee2d9fca0252d linux-4.14-mc8.patch.xz -32597f2672d1ec365a936d15041a7cf219ef9353241d4a5c378244cf2fc155610443a19bbcd391c86099a0b08486c45e042ec7c90b0d04fe675c3ad0ffc36b53 revert-broken-uapi.patch" |