diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-27 21:11:09 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-27 21:11:09 +0000 |
commit | 12a3893a6138df6efde0d0ddf115b37bf54f3cec (patch) | |
tree | 6c9daa8d95f090355992a7eeae4e190e5ee7977e /user/btrfs-progs | |
parent | 9b25ae4691ab60a3cf6f84ecedd77dca8c977bf7 (diff) | |
download | packages-12a3893a6138df6efde0d0ddf115b37bf54f3cec.tar.gz packages-12a3893a6138df6efde0d0ddf115b37bf54f3cec.tar.bz2 packages-12a3893a6138df6efde0d0ddf115b37bf54f3cec.tar.xz packages-12a3893a6138df6efde0d0ddf115b37bf54f3cec.zip |
user/btrfs-progs: new package
Diffstat (limited to 'user/btrfs-progs')
-rw-r--r-- | user/btrfs-progs/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/user/btrfs-progs/APKBUILD b/user/btrfs-progs/APKBUILD new file mode 100644 index 000000000..9c1453b01 --- /dev/null +++ b/user/btrfs-progs/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=btrfs-progs +pkgver=4.17.1 +pkgrel=0 +pkgdesc="File system utilities for Btrfs" +url="https://btrfs.wiki.kernel.org/index.php/Main_Page" +arch="all" +license="GPL-2.0-only" +depends="" +makedepends="asciidoctor attr-dev e2fsprogs-dev libexecinfo-dev lzo-dev + python3-dev util-linux-dev xmlto zlib-dev zstd-dev" +subpackages="$pkgname-doc $pkgname-python" +source="https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v$pkgver.tar.xz" +builddir="$srcdir"/$pkgname-v$pkgver + +build() { + cd "$builddir" + LIBS="-lexecinfo" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +python() { + pkgdesc="$pkgdesc (Python 3 bindings)" + + cd "$builddir" + make DESTDIR="$subpkgdir" install_python +} + +sha512sums="90f291e362b640a22b41036351619e7b8a793a3b57d0537e7865edf4b830d6dc57b3051c0aed9e1ff38b602441a20fea7f974ccff789a3b4a622a0ea57756538 btrfs-progs-v4.17.1.tar.xz" |