2008-10-25 02:14:03 +02:00
|
|
|
# Template file for 'e2fsprogs'
|
|
|
|
pkgname=e2fsprogs
|
2010-02-17 04:04:39 +01:00
|
|
|
version=1.41.10
|
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>"
|
2010-02-17 04:04:39 +01:00
|
|
|
checksum=4109d45dd220bc450e3198056a135164bdcee21855de97eda4e863a461eed8c9
|
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*
|
|
|
|
}
|