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"
|
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
|
2019-04-14 20:29:50 +02:00
|
|
|
TERMUX_PKG_VERSION=1.45.0
|
|
|
|
TERMUX_PKG_SHA256=1fa9d0e13f30f1cae9035fe74ed8ad01bfaae99c2c0b9b970318bdb5d738fcd4
|
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
|
|
|
|
TERMUX_PKG_KEEP_STATIC_LIBRARIES=true
|
|
|
|
TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="lib/*.a"
|
|
|
|
TERMUX_PKG_CONFFILES="etc/mke2fs.conf"
|
|
|
|
|
|
|
|
## util-linux provides libblkid
|
|
|
|
TERMUX_PKG_DEPENDS="libuuid, util-linux"
|
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--sbindir=${TERMUX_PREFIX}/bin
|
|
|
|
--enable-symlink-install
|
|
|
|
--enable-relative-symlinks
|
|
|
|
--disable-defrag
|
|
|
|
--disable-e2initrd-helper
|
|
|
|
--disable-libuuid
|
|
|
|
--disable-libblkid
|
|
|
|
--disable-uuidd"
|
|
|
|
|
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
|
|
|
|
bin/mk_cmds
|
2019-03-24 23:07:49 +01:00
|
|
|
include/com_err.h
|
2019-03-18 20:30:39 +01:00
|
|
|
share/et
|
|
|
|
share/ss
|
|
|
|
share/man/man1/compile_et.1
|
|
|
|
share/man/man1/mk_cmds.1"
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
make install install-libs
|
|
|
|
install -Dm600 \
|
|
|
|
"$TERMUX_PKG_SRCDIR"/misc/mke2fs.conf.in \
|
|
|
|
"$TERMUX_PREFIX"/etc/mke2fs.conf
|
|
|
|
}
|