2008-10-25 02:14:03 +02:00
|
|
|
# Template file for 'e2fsprogs'
|
|
|
|
pkgname=e2fsprogs
|
2014-09-06 20:10:05 +02:00
|
|
|
version=1.42.12
|
2015-03-18 08:30:31 +01:00
|
|
|
revision=2
|
|
|
|
build_pie=yes
|
2013-04-12 19:13:19 +02:00
|
|
|
short_desc="Ext2/3/4 Filesystem Utilities"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-04-12 19:13:19 +02:00
|
|
|
license="GPL-2, LGPL-2.1"
|
|
|
|
homepage="http://e2fsprogs.sourceforge.net/"
|
|
|
|
distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
|
2014-09-06 20:10:05 +02:00
|
|
|
checksum=e17846d91a0edd89fa59b064bde8f8e5cec5851e35f587bcccb4014dbd63186c
|
2013-04-12 19:13:19 +02:00
|
|
|
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-06-25 22:02:17 +02:00
|
|
|
configure_args="--enable-htree --enable-elf-shlibs --disable-fsck
|
2013-01-26 09:55:46 +01:00
|
|
|
--enable-e2initrd-helper --disable-rpath --with-root-prefix=/usr
|
|
|
|
--disable-uuidd --disable-libuuid --disable-libblkid
|
2014-05-27 08:36:30 +02:00
|
|
|
--enable-symlink-build --enable-symlink-install --enable-relative-symlinks
|
2014-03-18 06:41:26 +01:00
|
|
|
--sbindir=/usr/sbin --libdir=/usr/lib --libexecdir=/usr/lib"
|
2011-06-17 09:33:02 +02:00
|
|
|
make_install_args="install-libs"
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libuuid-devel libblkid-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
conf_files="/etc/mke2fs.conf"
|
2008-10-25 02:14:03 +02:00
|
|
|
|
2014-05-27 08:36:30 +02:00
|
|
|
pre_configure() {
|
|
|
|
sed -e 's,BUILD_CFLAGS=$,&\"$INCLUDES -DHAVE_CONFIG_H\",g' -i configure
|
|
|
|
}
|
|
|
|
|
2012-01-30 17:52:11 +01:00
|
|
|
post_install() {
|
2009-05-13 07:02:48 +02:00
|
|
|
# Remove stuff belonging to libblkid or libuuid pkgs.
|
2009-08-12 12:23:24 +02:00
|
|
|
find ${DESTDIR} -name \*blkid\* -o -name \*findfs\* \
|
|
|
|
-name \*uuidd\* -o -name \*uuidgen\* | \
|
2009-05-13 07:02:48 +02:00
|
|
|
xargs rm -rf
|
|
|
|
rm -f ${DESTDIR}/lib/libuuid*
|
|
|
|
rm -f ${DESTDIR}/usr/share/man/man3/uuid*
|
|
|
|
rm -f ${DESTDIR}/usr/lib/libuuid*
|
|
|
|
rm -rf ${DESTDIR}/usr/include/uuid
|
|
|
|
rm -f ${DESTDIR}/usr/lib/pkgconfig/uuid*
|
|
|
|
}
|
2013-04-12 10:23:11 +02:00
|
|
|
|
|
|
|
e2fsprogs-devel_package() {
|
2014-07-31 08:50:36 +02:00
|
|
|
depends="${makedepends} e2fsprogs-libs>=${version}_${revision}"
|
2013-06-22 09:36:04 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 10:23:11 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-06-22 09:36:04 +02:00
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 19:13:19 +02:00
|
|
|
vmove usr/bin/compile_et
|
|
|
|
vmove usr/bin/mk_cmds
|
|
|
|
vmove usr/share/man/man1/compile_et.1
|
|
|
|
vmove usr/share/man/man1/mk_cmds.1
|
2013-04-12 10:23:11 +02:00
|
|
|
vmove usr/share/et
|
|
|
|
vmove usr/share/ss
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
vmove "usr/share/info/libext2fs.info*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
e2fsprogs-libs_package() {
|
2013-06-22 09:36:04 +02:00
|
|
|
short_desc+=" - shared libraries"
|
2013-04-12 10:23:11 +02:00
|
|
|
pkg_install() {
|
2013-06-22 09:36:04 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 10:23:11 +02:00
|
|
|
}
|
|
|
|
}
|