smlinux/base/e2fsprogs/e2fsprogs.SMBuild
PktSurf 03da9ec93f Discarded '--disable-nls' and similar build options in several build files to allow building of translation files
Added '--docdir' build option to extra/xarchiver, gtk/libcanberra, net/{tor,x2x} build files
Updated net/cgit tarball checksum
Switched to cmake build system in net/weechat
Discarded 'v' verbosity argument used for extracting net/x2x tarball and its doinst.sh
Fixed hardcoded doc directory name in xorg/jasper
2023-04-01 10:28:44 +05:30

44 lines
1 KiB
Text
Executable file

app=e2fsprogs
version=1.45.3
build=4sml
homepage="http://e2fsprogs.sourceforge.net/"
download="https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v$version/e2fsprogs-$version.tar.xz"
desc="Utilities for working with ext 2, 3 and 4 filesystems"
requires="util-linux"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
for i in misc/fsck.c misc/mke2fs.c e2fsck/unix.c ; do
sed -i 's@sbin@bin@g' $i
done
ac_cv_path_mkdir="mkdir -p" \
CFLAGS+=" -D__uint64_t=u_int64_t" \
LDFLAGS="-static" \
./configure \
--prefix="" \
--with-root-prefix="" \
--sbindir=/bin \
--disable-libblkid \
--disable-libuuid \
--disable-uuidd
make
make install DESTDIR=$pkg
cp NOTICE $pkgdocs/LICENSE
mkfinalpkg
}
sha512sums="
aaa6e1ef3bce5935cdca853a91ac596f41a62b5f16f7cd944b3ad572fe5890fce9d08335a46c6fefebeab99ec32b1ef6d2df94e6b7afc19f19d244f000605103 e2fsprogs-1.45.3.tar.lz
"