diff options
author | Nathan <ndowens@artixlinux.org> | 2020-10-22 00:10:37 +0000 |
---|---|---|
committer | Nathan <ndowens@artixlinux.org> | 2020-10-24 19:15:16 +0000 |
commit | 4da28409593a66bdb65578524002d810c3d2dd62 (patch) | |
tree | 26fe5858a6ec4c311342df29130d0f4531c88063 /user/genext2fs/APKBUILD | |
parent | 60c5b0f127e002057c3e057b59da6178808d59d4 (diff) | |
download | packages-4da28409593a66bdb65578524002d810c3d2dd62.tar.gz packages-4da28409593a66bdb65578524002d810c3d2dd62.tar.bz2 packages-4da28409593a66bdb65578524002d810c3d2dd62.tar.xz packages-4da28409593a66bdb65578524002d810c3d2dd62.zip |
user/genext2fs: Add
Diffstat (limited to 'user/genext2fs/APKBUILD')
-rw-r--r-- | user/genext2fs/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/genext2fs/APKBUILD b/user/genext2fs/APKBUILD new file mode 100644 index 000000000..ac59e8e22 --- /dev/null +++ b/user/genext2fs/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Nathan <ndowens@artixlinux.org> +# Maintainer: Nathan <ndowens@artixlinux.org> +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" |