aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2019-05-23 22:40:15 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-27 18:34:37 +0000
commit90384bb9bd1fe8ae54646ad8286ea37a9500d629 (patch)
treee11fe3f2a559c3154f69c5157665c2621ad4dc05
parent941a0da389fe30bb2402d22511746d323f725abf (diff)
downloadaports-90384bb9bd1fe8ae54646ad8286ea37a9500d629.tar.bz2
aports-90384bb9bd1fe8ae54646ad8286ea37a9500d629.tar.xz
main/spl-vanilla: remove - rolled into zfs-vanilla
-rw-r--r--main/spl-vanilla/APKBUILD73
1 files changed, 0 insertions, 73 deletions
diff --git a/main/spl-vanilla/APKBUILD b/main/spl-vanilla/APKBUILD
deleted file mode 100644
index e89bbfb385..0000000000
--- a/main/spl-vanilla/APKBUILD
+++ /dev/null
@@ -1,73 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-
-# when changing _ver we *must* bump _rel
-_name=spl
-_ver=0.7.13
-_rel=0
-
-_flavor=${FLAVOR:-vanilla}
-_kpkg=linux-$_flavor
-_kver=4.19.45
-_krel=0
-
-_kpkgver="$_kver-r$_krel"
-_kabi="$_kver-$_krel-$_flavor"
-
-pkgname=$_name-$_flavor
-pkgver=$_kver
-pkgrel=$(( $_krel + $_rel ))
-
-pkgdesc="Solaris Porting Layer"
-url="http://zfsonlinux.org"
-arch="x86 x86_64 aarch64"
-license="GPL-2.0-or-later"
-options="!check" # No test suite
-depends="$_kpkg=$_kpkgver"
-depends_dev="$_kpkg-dev=$_kpkgver"
-makedepends="$depends_dev automake autoconf libtool linux-headers file"
-subpackages="$pkgname-dev"
-source="https://github.com/zfsonlinux/spl/archive/spl-$_ver.tar.gz"
-builddir="$srcdir/$_name-$_name-$_ver"
-
-prepare() {
- # do not remove as it sources other prepare
- default_prepare
- # verify the kernel version
- local _kapkbuild=../../main/linux-$_flavor/APKBUILD
- if [ -f $_kapkbuild ]; then
- ( . $_kapkbuild
- pkgname=$_name-$_flavor
- [ "$_kver" != "$pkgver" ] && die "please update _kver to $pkgver"
- [ "$_krel" != "$pkgrel" ] && die "please update _krel to $pkgrel"
- return 0
- )
- fi
- cd "$buildir"
- autoreconf -fi
-}
-
-build() {
- cd "$builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var \
- --with-config=kernel \
- --with-linux=/usr/src/linux-headers-$_kabi
- make
-}
-
-package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
-}
-
-dev() {
- mkdir -p "$subpkgdir"/usr
- mv "$pkgdir"/usr/src "$subpkgdir"/usr
- default_dev
-}
-
-sha512sums="7ab2551dd6815111fa55d8f897268cc4980ca46a54a44f99732c96a1c098be2ed82ecd10c70c511c30b2a6dbdc344d88ec17dc8671c473a9fd11682621ff4ec9 spl-0.7.13.tar.gz"