2008-10-25 02:14:03 +02:00
|
|
|
# Template file for 'e2fsprogs'
|
|
|
|
pkgname=e2fsprogs
|
2013-01-26 09:55:46 +01:00
|
|
|
version=1.42.7
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-06-25 22:02:17 +02:00
|
|
|
configure_args="--enable-htree --enable-elf-shlibs --disable-fsck
|
2013-01-26 09:55:46 +01:00
|
|
|
--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"
|
2011-06-17 09:33:02 +02:00
|
|
|
make_install_args="install-libs"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="pkg-config libuuid-devel libblkid-devel"
|
2013-02-11 13:18:54 +01:00
|
|
|
crossmakedepends="libuuid-devel libblkid-devel"
|
2012-06-18 11:57:14 +02:00
|
|
|
subpackages="$pkgname-devel $pkgname-libs"
|
|
|
|
conf_files="/etc/mke2fs.conf"
|
2008-10-25 02:14:03 +02:00
|
|
|
short_desc="Ext2/3/4 Filesystem Utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-12-02 10:50:55 +01:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-06-18 11:57:14 +02:00
|
|
|
homepage="http://e2fsprogs.sourceforge.net/"
|
|
|
|
distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
|
2013-01-26 09:55:46 +01:00
|
|
|
checksum=dc6501b2e75d205e425196d753d92b129c568525d8aad08085c0aa69ee9e7345
|
2008-10-25 02:14:03 +02:00
|
|
|
|
2012-01-30 17:52:11 +01:00
|
|
|
post_install() {
|
2009-05-13 07:02:48 +02:00
|
|
|
# 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*
|
2012-09-23 18:21:03 +02:00
|
|
|
|
|
|
|
# Remove static libs.
|
|
|
|
rm -f ${DESTDIR}/usr/lib/*.a
|
2009-05-13 07:02:48 +02:00
|
|
|
}
|