2008-10-25 00:14:03 +00:00
|
|
|
# Template file for 'e2fsprogs'
|
|
|
|
pkgname=e2fsprogs
|
2010-05-26 13:45:42 +00:00
|
|
|
version=1.41.12
|
2008-12-15 06:27:38 +00:00
|
|
|
distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
|
2008-10-25 00:14:03 +00:00
|
|
|
build_style=gnu_configure
|
2008-10-31 01:08:36 +00:00
|
|
|
configure_args="--enable-htree --enable-elf-shlibs --enable-fsck
|
2009-08-12 10:23:24 +00:00
|
|
|
--enable-e2initrd-helper --disable-rpath --with-root-prefix=
|
|
|
|
--disable-uuidd --disable-libuuid --disable-libblkid"
|
2009-03-18 09:02:08 +00:00
|
|
|
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install-libs install"
|
2008-10-25 00:14:03 +00:00
|
|
|
short_desc="Ext2/3/4 Filesystem Utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-05-26 13:45:42 +00:00
|
|
|
checksum=9c26d0dc20bfdafd0f27f3564791d6121d1c1876549d4f2ff1e41955c9bb9f20
|
2008-10-25 00:14:03 +00: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 07:31:44 +00:00
|
|
|
subpackages="$pkgname-devel $pkgname-libs"
|
2009-03-18 09:02:08 +00:00
|
|
|
conf_files="/etc/mke2fs.conf"
|
2009-02-24 07:22:29 +00:00
|
|
|
Add_dependency run glibc
|
2010-01-07 21:03:52 +00:00
|
|
|
Add_dependency run libuuid
|
|
|
|
Add_dependency run libblkid
|
2009-02-24 07:22:29 +00:00
|
|
|
Add_dependency run e2fsprogs-libs
|
2009-10-30 21:14:09 +00:00
|
|
|
Add_dependency build gettext
|
2010-01-07 21:03:52 +00:00
|
|
|
Add_dependency build libuuid-devel
|
|
|
|
Add_dependency build libblkid-devel
|
2009-05-13 05:02:48 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Remove stuff belonging to libblkid or libuuid pkgs.
|
2009-08-12 10:23:24 +00:00
|
|
|
find ${DESTDIR} -name \*blkid\* -o -name \*findfs\* \
|
|
|
|
-name \*uuidd\* -o -name \*uuidgen\* | \
|
2009-05-13 05:02:48 +00: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*
|
|
|
|
}
|