vp-build/templates/e2fsprogs/template
Juan RP 092c7d2835 e2fsprogs: remove uuidd and uuidgen, they are now in util-linux-ng.
Bump revision.

--HG--
extra : convert_revision : e69fd875b6af552cbcdd0bcbf9600d42a6cbaff0
2009-08-12 12:23:24 +02:00

35 lines
1.2 KiB
Plaintext

# Template file for 'e2fsprogs'
pkgname=e2fsprogs
version=1.41.8
revision=1
distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-htree --enable-elf-shlibs --enable-fsck
--enable-e2initrd-helper --disable-rpath --with-root-prefix=
--disable-uuidd --disable-libuuid --disable-libblkid"
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install-libs install"
short_desc="Ext2/3/4 Filesystem Utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=782c9f281ca970d176c61759465beec12b40c7793bb5fa52c8d9a61741e33801
long_desc="
It provides the filesystem utilities for use with the ext2 filesystem.
It also supports the ext3 filesystem with journaling support."
subpackages="devel libs"
conf_files="/etc/mke2fs.conf"
Add_dependency run glibc
Add_dependency run e2fsprogs-libs
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*
}