diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2020-04-05 03:55:06 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2020-04-05 03:55:06 +0000 |
commit | 4d9b52cefd930a69dc42efe73c82d5044eccc83f (patch) | |
tree | 8f644b417490dc2edf45214638d6de1153b34efd /experimental/zfs-utils | |
parent | 7643b9af2444e4ea9c74c6b64caadc724e5e7abe (diff) | |
parent | a77ab5fb063c6210aaa76775ec200499e6295cbc (diff) | |
download | packages-4d9b52cefd930a69dc42efe73c82d5044eccc83f.tar.gz packages-4d9b52cefd930a69dc42efe73c82d5044eccc83f.tar.bz2 packages-4d9b52cefd930a69dc42efe73c82d5044eccc83f.tar.xz packages-4d9b52cefd930a69dc42efe73c82d5044eccc83f.zip |
Merge branch 'zfs' into 'master'
New ZFS packages
See merge request adelie/packages!418
Diffstat (limited to 'experimental/zfs-utils')
-rw-r--r-- | experimental/zfs-utils/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/experimental/zfs-utils/APKBUILD b/experimental/zfs-utils/APKBUILD new file mode 100644 index 000000000..dc985302e --- /dev/null +++ b/experimental/zfs-utils/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# keep these in sync with kernel version +_kflavour="" +_kver="5.4.5-mc0" +_kver2="$_kver-easy" +pkgname=zfs-utils +pkgver=0.8.3 +pkgrel=0 +pkgdesc="User utilities for the ZFS filesystem" +url="https://open-zfs.org" +arch="all" +license="CDDL" +depends="" +makedepends="eudev-dev libtirpc-dev linux-headers openssl-dev zlib-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc zfs-openrc" +source="https://github.com/zfsonlinux/zfs/releases/download/zfs-$pkgver/zfs-$pkgver.tar.gz" +builddir="$srcdir/zfs-$pkgver" + +prepare() { + default_prepare + update_config_sub +} + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-linux=/usr/src/linux-$_kver \ + --with-spec=generic \ + --with-config=user + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install + rm -r "$pkgdir/usr/share/zfs/zfs-tests" +} + +sha512sums="aded632e6b04180560d4f2ff283260016e883dadae4e7fda9070b7113dee948099cb7a7b183f1c8139654389a2610fb9cc6f997acdc846040e605125cf016010 zfs-0.8.3.tar.gz" |