summaryrefslogblamecommitdiff
path: root/user/btrfs-progs/APKBUILD
blob: 079282295de8be196dd86c732e27eda9515b35e7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                  
            






                                                                       

                                               
                                                                                                              


                                    


                                       

                                                                 



            



                  


                                      
                                                                                                                                                                        
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=btrfs-progs
pkgver=5.4.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
	util-linux-dev xmlto zlib-dev zstd-dev"
subpackages="$pkgname-doc"
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() {
	LIBS="-lexecinfo" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-python  # --enable-python doesn't work.
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="56381b37036aecea61b758fb4971abfeda24a387bb3a828f7d54eb068982a37763a8ebe2bcc6be61d6a8bc2057dddcd4754325b236e14d8ec02e58cf711f192f  btrfs-progs-v5.4.1.tar.xz"