void-packages/srcpkgs/e2fsprogs/template
2012-08-01 07:26:54 +02:00

35 lines
1.3 KiB
Text

# Template file for 'e2fsprogs'
pkgname=e2fsprogs
version=1.42.5
revision=1
build_style=gnu-configure
configure_args="--enable-htree --enable-elf-shlibs --disable-fsck
--enable-e2initrd-helper --disable-rpath --with-root-prefix=/usr
--disable-uuidd --disable-libuuid --disable-libblkid
--enable-symlink-build --enable-symlink-install
--libdir=/usr/lib --libexecdir=/usr/lib"
make_install_args="install-libs"
makedepends="pkg-config libuuid-devel libblkid-devel"
subpackages="$pkgname-devel $pkgname-libs"
conf_files="/etc/mke2fs.conf"
short_desc="Ext2/3/4 Filesystem Utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://e2fsprogs.sourceforge.net/"
distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
checksum=76edaad8eb7464356e1317d60eb19952728091dad358f1f939239874cc1871ce
long_desc="
It provides the filesystem utilities for use with the ext2 filesystem.
It also supports the ext3/4 filesystem with journaling support."
post_install() {
# Remove stuff belonging to libblkid or libuuid pkgs.
find ${DESTDIR} -name \*blkid\* -o -name \*findfs\* \
-name \*uuidd\* -o -name \*uuidgen\* | \
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*
}