void-packages/srcpkgs/xfsprogs/template

37 lines
974 B
Plaintext
Raw Normal View History

# Template file for 'xfsprogs'
pkgname=xfsprogs
2013-01-14 09:28:14 +01:00
version=3.1.10
revision=1
2013-01-14 09:28:14 +01:00
makedepends="libuuid-devel libblkid-devel readline-devel"
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"
2013-01-14 09:28:14 +01:00
homepage="http://oss.sgi.com/projects/xfs/"
distfiles="ftp://ftp.archlinux.org/other/xfsprogs/${pkgname}-${version}.tar.gz"
checksum=9ec8dc77bf3bc114c3ba89f87316a32e3097efb3e7fc44df23421614bb21aa6c
replaces="xfsprogs-libs>=0"
2013-01-14 09:28:14 +01:00
subpackages="${pkgname}-devel"
2013-01-14 09:28:14 +01:00
do_configure() {
export DEBUG=-DNDEBUG
./configure ${CONFIGURE_SHARED_ARGS} \
2012-01-30 17:21:51 +01:00
--enable-readline=yes --enable-blkid=yes --enable-lib64=no
2013-01-14 09:28:14 +01:00
}
do_build() {
make
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}
2013-01-14 09:28:14 +01:00
rm -f ${DESTDIR}/usr/lib/*.{a,so}
# Move stuff to /usr.
vmove "sbin/*" usr/sbin
vmove "lib/*" usr/lib
}