summaryrefslogblamecommitdiff
path: root/user/btrfs-progs/APKBUILD
blob: 54a16776265b020fd27151dad8c37c9c736e086d (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.6.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="8f523249a5c2bfe1c0d52b0dc5d31d52b330b1c616d3ec423fa1fb4a845441bfeaa32abbe42a444a4fc84016a482c8102a3eb451ac423b542e332e9c26e76dc6  btrfs-progs-v5.6.1.tar.xz"