2009-12-05 06:26:40 +00:00
|
|
|
# Template file for 'xfsprogs'
|
|
|
|
pkgname=xfsprogs
|
2013-05-24 08:31:27 +00:00
|
|
|
version=3.1.11
|
|
|
|
revision=1
|
2013-01-14 08:28:14 +00:00
|
|
|
makedepends="libuuid-devel libblkid-devel readline-devel"
|
2009-12-05 06:26:40 +00:00
|
|
|
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"
|
2013-01-14 08:28:14 +00:00
|
|
|
homepage="http://oss.sgi.com/projects/xfs/"
|
|
|
|
distfiles="ftp://ftp.archlinux.org/other/xfsprogs/${pkgname}-${version}.tar.gz"
|
2013-05-24 08:31:27 +00:00
|
|
|
checksum=adf4980177b5c890c1ca86b9c0e3e4d69a3f95bfc01746844280c2393cf4d6be
|
2009-12-05 06:26:40 +00:00
|
|
|
|
2013-01-14 08:28:14 +00:00
|
|
|
do_configure() {
|
2009-12-05 06:26:40 +00:00
|
|
|
export DEBUG=-DNDEBUG
|
2013-05-26 08:41:55 +00:00
|
|
|
configure_args+=" --enable-readline=yes --enable-blkid=yes --enable-lib64=no "
|
|
|
|
./configure ${configure_args}
|
2013-01-14 08:28:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make
|
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}
|
2013-01-14 08:28:14 +00:00
|
|
|
rm -f ${DESTDIR}/usr/lib/*.{a,so}
|
2012-02-14 14:59:57 +00:00
|
|
|
# Move stuff to /usr.
|
2013-04-15 22:36:29 +00:00
|
|
|
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/sbin
|
2013-04-15 22:35:04 +00:00
|
|
|
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib
|
2009-12-05 06:26:40 +00:00
|
|
|
}
|
2013-04-14 16:42:25 +00:00
|
|
|
|
|
|
|
xfsprogs-devel_package() {
|
|
|
|
depends="libuuid-devel xfsprogs>=${version}"
|
2013-05-24 08:31:27 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 16:42:25 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
xfsprogs_package() {
|
|
|
|
replaces="xfsprogs-libs>=0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|