2008-10-25 00:14:03 +00:00
|
|
|
# Template file for 'e2fsprogs'
|
|
|
|
pkgname=e2fsprogs
|
2013-01-26 08:55:46 +00:00
|
|
|
version=1.42.7
|
2013-04-12 08:23:11 +00:00
|
|
|
revision=2
|
2013-04-12 17:13:19 +00:00
|
|
|
short_desc="Ext2/3/4 Filesystem Utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
|
|
|
homepage="http://e2fsprogs.sourceforge.net/"
|
|
|
|
distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
|
|
|
|
checksum=dc6501b2e75d205e425196d753d92b129c568525d8aad08085c0aa69ee9e7345
|
|
|
|
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-06-25 20:02:17 +00:00
|
|
|
configure_args="--enable-htree --enable-elf-shlibs --disable-fsck
|
2013-01-26 08:55:46 +00: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 07:33:02 +00:00
|
|
|
make_install_args="install-libs"
|
2013-03-24 09:21:58 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libuuid-devel libblkid-devel"
|
2008-10-25 00:14:03 +00:00
|
|
|
|
2012-01-30 16:52:11 +00:00
|
|
|
post_install() {
|
2009-05-13 05:02:48 +00:00
|
|
|
# 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*
|
2012-09-23 16:21:03 +00:00
|
|
|
|
|
|
|
# Remove static libs.
|
|
|
|
rm -f ${DESTDIR}/usr/lib/*.a
|
2009-05-13 05:02:48 +00:00
|
|
|
}
|
2013-04-12 08:23:11 +00:00
|
|
|
|
|
|
|
e2fsprogs-devel_package() {
|
|
|
|
depends="libuuid-devel libblkid-devel e2fsprogs-libs>=${version}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-04-12 17:13:19 +00:00
|
|
|
vmove usr/bin/compile_et
|
|
|
|
vmove usr/bin/mk_cmds
|
|
|
|
vmove usr/share/man/man1/compile_et.1
|
|
|
|
vmove usr/share/man/man1/mk_cmds.1
|
2013-04-12 08:23:11 +00:00
|
|
|
vmove usr/share/et
|
|
|
|
vmove usr/share/ss
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
vmove "usr/share/info/libext2fs.info*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
e2fsprogs-libs_package() {
|
|
|
|
short_desc="${short_desc} -- shared libraries"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
e2fsprogs_package() {
|
|
|
|
conf_files="/etc/mke2fs.conf"
|
|
|
|
pkg_install() {
|
|
|
|
vmove etc
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|