void-packages/templates/e2fsprogs/template

39 lines
1.3 KiB
Plaintext
Raw Normal View History

# Template file for 'e2fsprogs'
pkgname=e2fsprogs
sourcepkg=e2fsprogs
version=1.41.4
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 --bindir=/bin --sbindir=/sbin
--libdir=/usr/lib --includedir=/usr/include"
make_install_target="install-libs install"
make_install_args="
root_bindir=$XBPS_DESTDIR/$pkgname-$version/bin
bindir=$XBPS_DESTDIR/$pkgname-$version/bin
root_sbindir=$XBPS_DESTDIR/$pkgname-$version/sbin
sbindir=$XBPS_DESTDIR/$pkgname-$version/sbin
root_libdir=$XBPS_DESTDIR/$pkgname-$version/usr/lib
libdir=$XBPS_DESTDIR/$pkgname-$version/usr/lib
root_includedir=$XBPS_DESTDIR/$pkgname-$version/usr/include
includedir=$XBPS_DESTDIR/$pkgname-$version/usr/include"
short_desc="Ext2/3/4 Filesystem Utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=2cc10fee2b29add737e454eb634513135b34a638f7ca2b18364864fe089020dc
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"
Add_dependency run glibc
Add_dependency run e2fsprogs-libs
post_install()
{
local destdir=$XBPS_DESTDIR/$pkgname-$version
# Move libraries to /lib.
install -d ${destdir}/lib
mv ${destdir}/usr/lib/lib* ${destdir}/lib
}