summaryrefslogtreecommitdiff
path: root/user/genext2fs/APKBUILD
blob: 9d16a2792e676ddcfaa1352ebef89e6d9b5710ed (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
34
35
36
# Contributor: Nathan <ndowens@artixlinux.org>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=genext2fs
pkgver=1.5.0
pkgrel=0
pkgdesc="ext2 filesystem generator for embedded systems"
url="https://github.com/bestouff/genext2fs"
arch="all"
license="GPL-2.0+"
depends=""
makedepends="autoconf automake libarchive-dev"
subpackages="$pkgname-doc"
source=""$pkgname-$pkgver.tar.gz::https://github.com/bestouff/genext2fs/archive/v$pkgver.tar.gz

prepare() {
	NOCONFIGURE=1 ./autogen.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-libarchive
	make
}

check() {
	make check
}

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

sha512sums="628994f4f5f6d534a42e16db5322e36addb227d0e0ee589ebebbbb6beda9c53774186a932d04fcb978fde1cbe534b8335fdbfea256aecd2d873c03bc5892a8ce  genext2fs-1.5.0.tar.gz"