2008-10-25 02:14:03 +02:00
|
|
|
# Template file for 'e2fsprogs'
|
|
|
|
pkgname=e2fsprogs
|
2009-08-30 11:16:48 +02:00
|
|
|
version=1.41.9
|
2010-01-07 22:03:52 +01:00
|
|
|
revision=1
|
2008-12-15 07:27:38 +01:00
|
|
|
distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
|
2008-10-25 02:14:03 +02:00
|
|
|
build_style=gnu_configure
|
2008-10-31 02:08:36 +01:00
|
|
|
configure_args="--enable-htree --enable-elf-shlibs --enable-fsck
|
2009-08-12 12:23:24 +02:00
|
|
|
--enable-e2initrd-helper --disable-rpath --with-root-prefix=
|
|
|
|
--disable-uuidd --disable-libuuid --disable-libblkid"
|
2009-03-18 10:02:08 +01:00
|
|
|
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install-libs install"
|
2008-10-25 02:14:03 +02:00
|
|
|
short_desc="Ext2/3/4 Filesystem Utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-08-30 11:16:48 +02:00
|
|
|
checksum=cbf1e34261a16b3d7911b60b91290b19f2010036d6ba628d45b5f0b2af2b66e8
|
2008-10-25 02:14:03 +02:00
|
|
|
long_desc="
|
|
|
|
It provides the filesystem utilities for use with the ext2 filesystem.
|
|
|
|
It also supports the ext3 filesystem with journaling support."
|
|
|
|
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="$pkgname-devel $pkgname-libs"
|
2009-03-18 10:02:08 +01:00
|
|
|
conf_files="/etc/mke2fs.conf"
|
2009-02-24 08:22:29 +01:00
|
|
|
Add_dependency run glibc
|
2010-01-07 22:03:52 +01:00
|
|
|
Add_dependency run libuuid
|
|
|
|
Add_dependency run libblkid
|
2009-02-24 08:22:29 +01:00
|
|
|
Add_dependency run e2fsprogs-libs
|
2009-10-30 22:14:09 +01:00
|
|
|
Add_dependency build gettext
|
2010-01-07 22:03:52 +01:00
|
|
|
Add_dependency build libuuid-devel
|
|
|
|
Add_dependency build libblkid-devel
|
2009-05-13 07:02:48 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# 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*
|
|
|
|
}
|