iglunix/linux/make_ext4fs/build.sh

32 lines
479 B
Bash
Raw Normal View History

2021-09-26 11:46:14 +00:00
pkgname=make_ext4fs
pkgver=main
2022-04-21 23:11:02 +00:00
mkdeps=toybox:bmake:llvm
deps=musl:zlib-ng
auto_cross
2021-09-26 11:46:14 +00:00
fetch() {
curl -L "https://github.com/iglunix/make_ext4fs/archive/refs/heads/main.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
make
}
package() {
cd $pkgname-$pkgver
install -d $pkgdir/sbin
install -Dm755 ./make_ext4fs $pkgdir/sbin/mkfs.ext4
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}
2022-04-21 23:11:02 +00:00
backup() {
return
}