vp-build/templates/e2fsprogs/template
Juan RP 1ebe5e6b5e Mega-commit removing deps in xbps-base-chroot.
xbps-src:
  * ALWAYS use the static bins, to avoid breakage in the chroot.
  * Remove XBPS_FETCH_CMD. Use xbps-fetch (static) now that it's
    useful to download all distfiles in xbps-base-system.
  * Use busybox in the chroot and create links in /usr/local/bin
    at creation time. This helps to remove many packages that
    had problems with host/target libs (acl, attr, libarchive, etc).

build templates:
  * Add explicit gettext and texinfo build dependencies in all
    packages that need them, because they aren't built anymore
    by xbps-base-chroot.
  * Fixed some packages using build_style=gnu_makefile, that were
    broken because pre/post_configure() is not executed for a while,
    they should use pre/post_build() instead.

--HG--
extra : convert_revision : 0eaaf4917fd824710d0895e0c984bbc236b0cdf8
2009-10-30 22:14:09 +01:00

35 lines
1.2 KiB
Plaintext

# Template file for 'e2fsprogs'
pkgname=e2fsprogs
version=1.41.9
distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-htree --enable-elf-shlibs --enable-fsck
--enable-e2initrd-helper --disable-rpath --with-root-prefix=
--disable-uuidd --disable-libuuid --disable-libblkid"
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install-libs install"
short_desc="Ext2/3/4 Filesystem Utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=cbf1e34261a16b3d7911b60b91290b19f2010036d6ba628d45b5f0b2af2b66e8
long_desc="
It provides the filesystem utilities for use with the ext2 filesystem.
It also supports the ext3 filesystem with journaling support."
subpackages="devel libs"
conf_files="/etc/mke2fs.conf"
Add_dependency run glibc
Add_dependency run e2fsprogs-libs
Add_dependency build gettext
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*
}