aboutsummaryrefslogtreecommitdiffstats
path: root/testing/squashfs-tools-ng/APKBUILD
blob: 0eacbd8f6cb0f26c5a7051161ed3930a6672e069 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Ryan Barnett <ryanbarnett3@gmail.com>
# Maintainer: Ryan Barnett <ryanbarnett3@gmail.com>
pkgname=squashfs-tools-ng
pkgver=1.1.2
pkgrel=0
pkgdesc="A new set of tools and libraries for working with SquashFS images"
url="https://infraroot.at/projects/squashfs-tools-ng/index.html"
arch="all"
license="GPL-3.0-or-later"
makedepends="automake libselinux-dev lz4-dev lzo-dev xz-dev zlib-dev zstd-dev"
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
source="https://infraroot.at/pub/squashfs/squashfs-tools-ng-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="7ab22f4e92c0112303892b6a79d5ad886b0552f349fbadc3ad477f37ab653378d363cba5f555fb94f41c5bb1910a3f6b459c067b19027122a074182791c95f4f  squashfs-tools-ng-1.1.2.tar.gz"