void-packages/srcpkgs/e2fsprogs/template

60 lines
1.8 KiB
Text
Raw Normal View History

# Template file for 'e2fsprogs'
pkgname=e2fsprogs
2014-01-15 08:42:57 +00:00
version=1.42.9
2014-03-18 05:41:26 +00:00
revision=3
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"
2014-01-15 08:42:57 +00:00
checksum=2f92ac06e92fa00f2ada3ee67dad012d74d685537527ad1241d82f2d041f2802
build_style=gnu-configure
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
2014-03-18 05:41:26 +00:00
--sbindir=/usr/sbin --libdir=/usr/lib --libexecdir=/usr/lib"
make_install_args="install-libs"
hostmakedepends="pkg-config"
makedepends="libuuid-devel libblkid-devel"
conf_files="/etc/mke2fs.conf"
post_install() {
# Remove stuff belonging to libblkid or libuuid pkgs.
find ${DESTDIR} -name \*blkid\* -o -name \*findfs\* \
-name \*uuidd\* -o -name \*uuidgen\* | \
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*
}
e2fsprogs-devel_package() {
2014-01-15 08:42:57 +00:00
depends="libuuid-devel libblkid-devel e2fsprogs-libs>=${version}_${revision}"
2013-06-22 07:36:04 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-06-22 07:36:04 +00:00
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
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
vmove usr/share/et
vmove usr/share/ss
vmove usr/share/man/man3
vmove "usr/share/info/libext2fs.info*"
}
}
e2fsprogs-libs_package() {
2013-06-22 07:36:04 +00:00
short_desc+=" - shared libraries"
pkg_install() {
2013-06-22 07:36:04 +00:00
vmove "usr/lib/*.so.*"
}
}