vp-build/templates/e2fsprogs/template
Juan RP 84222395b8 Provide some vars for use in template's targets.
These new vars are DESTDIR (by default XBPS_DESTDIR/pkgname-version),
SRCPKGDESTDIR (XBPS_DESTDIR/sourcepkg-version) and FILESDIR
(XBPS_TEMPLATESDIR/pkgname/files).

This simplifies packages that used them.

--HG--
extra : convert_revision : 287ea7128cb5df19870ca7aff0a3b8f99a11d63a
2009-03-11 06:31:56 +01:00

37 lines
1.3 KiB
Plaintext

# 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()
{
# Move libraries to /lib.
install -d ${DESTDIR}/lib
mv ${DESTDIR}/usr/lib/lib* ${DESTDIR}/lib
}