61 lines
1.8 KiB
Bash
61 lines
1.8 KiB
Bash
# Template file for 'e2fsprogs'
|
|
pkgname=e2fsprogs
|
|
version=1.43.2
|
|
revision=1
|
|
short_desc="Ext2/3/4 Filesystem Utilities"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2, LGPL-2.1"
|
|
homepage="http://e2fsprogs.sourceforge.net/"
|
|
distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
|
|
checksum=20085fd43d52b8f81bda259a7df5c2b1a7a745b6fd3d082a2915965dd77f5365
|
|
|
|
build_style=gnu-configure
|
|
configure_args="--enable-elf-shlibs --disable-fsck
|
|
--enable-e2initrd-helper --disable-rpath --with-root-prefix=/usr
|
|
--disable-uuidd --disable-libuuid --disable-libblkid
|
|
--enable-symlink-build --enable-symlink-install --enable-relative-symlinks
|
|
--sbindir=/usr/bin --libdir=/usr/lib e2fsprogs_cv_struct_st_flags=no"
|
|
make_install_args="install-libs"
|
|
hostmakedepends="automake gettext-devel libtool pkg-config"
|
|
makedepends="libuuid-devel libblkid-devel"
|
|
conf_files="/etc/mke2fs.conf"
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
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() {
|
|
depends="${makedepends} e2fsprogs-libs>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
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() {
|
|
short_desc+=" - shared libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|