2019-03-18 20:30:39 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://e2fsprogs.sourceforge.net
|
|
|
|
TERMUX_PKG_DESCRIPTION="EXT 2/3/4 filesystem utilities"
|
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0, LGPL-2.0, MIT"
|
2019-05-21 14:00:03 +02:00
|
|
|
TERMUX_PKG_LICENSE_FILE="NOTICE"
|
2020-05-13 10:01:25 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
|
2021-05-04 16:12:46 +02:00
|
|
|
TERMUX_PKG_VERSION=1.46.2
|
2019-03-18 20:30:39 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v$TERMUX_PKG_VERSION/e2fsprogs-$TERMUX_PKG_VERSION.tar.xz
|
2021-05-04 16:12:46 +02:00
|
|
|
TERMUX_PKG_SHA256=23aa093295c94e71ef1be490c4004871c5b01d216a8cb4d111fa6c0aac354168
|
2019-03-18 20:30:39 +01:00
|
|
|
TERMUX_PKG_CONFFILES="etc/mke2fs.conf"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_NO_STATICSPLIT=true
|
2019-03-18 20:30:39 +01:00
|
|
|
|
|
|
|
## util-linux provides libblkid
|
|
|
|
TERMUX_PKG_DEPENDS="libuuid, util-linux"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="e2fsprogs-dev"
|
|
|
|
TERMUX_PKG_REPLACES="e2fsprogs-dev"
|
2019-03-18 20:30:39 +01:00
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--sbindir=${TERMUX_PREFIX}/bin
|
|
|
|
--enable-symlink-install
|
|
|
|
--enable-relative-symlinks
|
|
|
|
--disable-defrag
|
|
|
|
--disable-e2initrd-helper
|
|
|
|
--disable-libuuid
|
|
|
|
--disable-libblkid
|
2020-01-11 20:03:58 +01:00
|
|
|
--disable-uuidd
|
|
|
|
--with-crond_dir=${TERMUX_PREFIX}/etc/cron.d"
|
2019-03-18 20:30:39 +01:00
|
|
|
|
2019-03-24 23:07:49 +01:00
|
|
|
# Remove com_err.h to avoid conflicting with krb5-dev:
|
2019-03-18 20:30:39 +01:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="
|
|
|
|
bin/compile_et
|
2020-01-11 20:03:58 +01:00
|
|
|
bin/e2scrub
|
|
|
|
bin/e2scrub_all
|
2019-03-18 20:30:39 +01:00
|
|
|
bin/mk_cmds
|
2020-01-11 20:03:58 +01:00
|
|
|
etc/cron.d
|
|
|
|
etc/e2scrub.conf
|
2019-03-24 23:07:49 +01:00
|
|
|
include/com_err.h
|
2020-01-11 20:03:58 +01:00
|
|
|
lib/e2fsprogs
|
2019-03-18 20:30:39 +01:00
|
|
|
share/et
|
|
|
|
share/ss
|
|
|
|
share/man/man1/compile_et.1
|
2020-01-11 20:03:58 +01:00
|
|
|
share/man/man1/mk_cmds.1
|
|
|
|
share/man/man8/e2scrub.8.gz
|
|
|
|
share/man/man8/e2scrub_all.8.gz"
|
2019-03-18 20:30:39 +01:00
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
make install install-libs
|
|
|
|
install -Dm600 \
|
|
|
|
"$TERMUX_PKG_SRCDIR"/misc/mke2fs.conf.in \
|
|
|
|
"$TERMUX_PREFIX"/etc/mke2fs.conf
|
|
|
|
}
|