mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/e2fsimage: new aport
create and populate an ext2/3/4 filesystem image as non-root user. https://github.com/Ledest/e2fsimage
This commit is contained in:
parent
06d873c35d
commit
eeb37847cb
31
testing/e2fsimage/APKBUILD
Normal file
31
testing/e2fsimage/APKBUILD
Normal file
@ -0,0 +1,31 @@
|
||||
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
||||
# Maintainer:
|
||||
pkgname=e2fsimage
|
||||
pkgver=0.2.3
|
||||
pkgrel=0
|
||||
pkgdesc="create and populate an ext2/3/4 filesystem image as non-root user"
|
||||
url="https://github.com/Ledest/e2fsimage"
|
||||
arch="all"
|
||||
license="BSD"
|
||||
makedepends="e2fsprogs-dev e2fsprogs-extra"
|
||||
subpackages="$pkgname-doc"
|
||||
source="e2fsimage-$pkgver.tar.gz::https://github.com/Ledest/e2fsimage/archive/$pkgver.tar.gz"
|
||||
builddir="$srcdir/e2fsimage-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
prefix=/usr mandir=/usr/share/man ./configure
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
./src/e2fsimage -f test.img -d ./src
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="b6bf97ae35af7c48063f7a6dc19af80fec4bdfcd4d9b6064168b5e5a37ead57b3a01772f659f5004d6d5f1217cccba6a019e1974f87503fcaf526a15d6187ed7 e2fsimage-0.2.3.tar.gz"
|
Loading…
Reference in New Issue
Block a user