2009-12-05 07:26:40 +01:00
|
|
|
# Template file for 'xfsprogs'
|
|
|
|
pkgname=xfsprogs
|
2011-11-18 11:18:22 +01:00
|
|
|
version=3.1.7
|
2011-11-15 17:53:46 +01:00
|
|
|
homepage="http://oss.sgi.com/projects/xfs/"
|
|
|
|
distfiles="http://ftp.archlinux.org/other/xfsprogs/$pkgname-$version.tar.gz"
|
2009-12-05 07:26:40 +01:00
|
|
|
short_desc="Utilities for managing the XFS filesystem"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-15 17:53:46 +01:00
|
|
|
license="LGPL-2.1"
|
2011-11-18 11:18:22 +01:00
|
|
|
checksum=e150914210ac5fd29c098ef0fd94bdec51d2fb231cf9faa765c16ec6d75c8eaa
|
2009-12-05 07:26:40 +01:00
|
|
|
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."
|
|
|
|
|
2010-11-09 23:48:44 +01:00
|
|
|
disable_parallel_build=yes
|
2009-12-05 07:26:40 +01:00
|
|
|
subpackages="$pkgname-libs $pkgname-devel"
|
2010-11-09 23:48:44 +01:00
|
|
|
|
2010-01-15 04:20:46 +01:00
|
|
|
Add_dependency build gawk
|
2009-12-05 07:26:40 +01:00
|
|
|
Add_dependency build gettext
|
2010-01-15 04:20:46 +01:00
|
|
|
Add_dependency build libuuid-devel
|
2010-02-18 05:01:22 +01:00
|
|
|
Add_dependency build libblkid-devel
|
2010-01-15 04:20:46 +01:00
|
|
|
Add_dependency build readline-devel
|
2009-12-05 07:26:40 +01:00
|
|
|
|
2011-11-15 17:53:46 +01:00
|
|
|
do_build() {
|
2009-12-05 07:26:40 +01:00
|
|
|
export DEBUG=-DNDEBUG
|
2012-01-30 17:21:51 +01:00
|
|
|
./configure --libdir=/usr/lib --libexecdir=/usr/lib \
|
|
|
|
--enable-readline=yes --enable-blkid=yes --enable-lib64=no
|
2011-07-06 12:17:20 +02:00
|
|
|
make ${makejobs}
|
2010-11-09 23:48:44 +01:00
|
|
|
}
|
|
|
|
|
2011-11-15 17:53:46 +01:00
|
|
|
do_install() {
|
2011-07-06 12:17:20 +02:00
|
|
|
make DIST_ROOT=${DESTDIR} install install-dev
|
2011-11-15 17:53:46 +01:00
|
|
|
# Remove unneeded stuff
|
|
|
|
rm -rf ${DESTDIR}/usr/share/doc
|
|
|
|
rm -f ${DESTDIR}/usr/share/man/man5/proj*
|
2012-01-30 17:21:51 +01:00
|
|
|
rm -f ${DESTDIR}/lib/*.{a,la}
|
2009-12-05 07:26:40 +01:00
|
|
|
}
|