void-packages/srcpkgs/xfsprogs/template

46 lines
1.4 KiB
Text
Raw Normal View History

# Template file for 'xfsprogs'
pkgname=xfsprogs
2012-04-16 09:14:09 +00:00
version=3.1.8
2011-11-15 16:53:46 +00:00
homepage="http://oss.sgi.com/projects/xfs/"
2012-04-16 09:14:09 +00:00
distfiles="ftp://ftp.archlinux.org/other/xfsprogs/$pkgname-$version.tar.gz"
short_desc="Utilities for managing the XFS filesystem"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-11-15 16:53:46 +00:00
license="LGPL-2.1"
2012-04-16 09:14:09 +00:00
checksum=74409e2e3748074999df25c00f722621659a0bd3607e677f0bcc4373b8c93eab
long_desc="
A set of commands to use the XFS filesystem, including mkfs.xfs.
XFS is a high performance journaling filesystem which originated on the
SGI IRIX platform. It is completely multi-threaded, can support large files
and large filesystems, extended attributes, variable block sizes, is extent
based, and makes extensive use of Btrees (directories, extents, free space)
to aid both performance and scalability."
replaces="xfsprogs-libs>=0"
2010-11-09 22:48:44 +00:00
disable_parallel_build=yes
subpackages="$pkgname-devel"
2010-11-09 22:48:44 +00:00
Add_dependency build libuuid-devel
Add_dependency build libblkid-devel
Add_dependency build readline-devel
2011-11-15 16:53:46 +00:00
do_build() {
export DEBUG=-DNDEBUG
./configure ${CONFIGURE_SHARED_ARGS} \
2012-01-30 16:21:51 +00:00
--enable-readline=yes --enable-blkid=yes --enable-lib64=no
2011-07-06 10:17:20 +00:00
make ${makejobs}
2010-11-09 22:48:44 +00:00
}
2011-11-15 16:53:46 +00:00
do_install() {
2011-07-06 10:17:20 +00:00
make DIST_ROOT=${DESTDIR} install install-dev
2011-11-15 16:53:46 +00:00
# Remove unneeded stuff
rm -rf ${DESTDIR}/usr/share/doc
rm -f ${DESTDIR}/usr/share/man/man5/proj*
2012-01-30 16:21:51 +00:00
rm -f ${DESTDIR}/lib/*.{a,la}
rm -f ${DESTDIR}/usr/lib/*.so
# Move stuff to /usr.
vmove "sbin/*" usr/sbin
vmove "lib/*" usr/lib
}