2009-12-05 07:26:40 +01:00
|
|
|
# Template file for 'xfsprogs'
|
|
|
|
pkgname=xfsprogs
|
2013-05-24 10:31:27 +02:00
|
|
|
version=3.1.11
|
2014-02-27 14:54:19 +01:00
|
|
|
revision=3
|
|
|
|
makedepends="libuuid-devel libblkid-devel readline-devel>=6.3"
|
2014-01-01 16:10:11 +01:00
|
|
|
replaces="xfsprogs-libs>=0"
|
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"
|
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"
|
2013-05-24 10:31:27 +02:00
|
|
|
checksum=adf4980177b5c890c1ca86b9c0e3e4d69a3f95bfc01746844280c2393cf4d6be
|
2009-12-05 07:26:40 +01:00
|
|
|
|
2013-01-14 09:28:14 +01:00
|
|
|
do_configure() {
|
2009-12-05 07:26:40 +01:00
|
|
|
export DEBUG=-DNDEBUG
|
2014-01-15 09:54:32 +01:00
|
|
|
configure_args+=" --bindir=/usr/bin --sbindir=/usr/bin --enable-readline=yes --enable-blkid=yes --enable-lib64=no "
|
2013-05-26 10:41:55 +02:00
|
|
|
./configure ${configure_args}
|
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}
|
2012-02-14 15:59:57 +01:00
|
|
|
# Move stuff to /usr.
|
2014-01-15 09:54:32 +01:00
|
|
|
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin
|
2013-04-16 00:35:04 +02:00
|
|
|
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib
|
2009-12-05 07:26:40 +01:00
|
|
|
}
|
2013-04-14 18:42:25 +02:00
|
|
|
|
|
|
|
xfsprogs-devel_package() {
|
2014-01-15 09:54:32 +01:00
|
|
|
depends="libuuid-devel ${sourcepkg}>=${version}_${revision}"
|
2013-05-24 10:31:27 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 18:42:25 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-01-15 09:54:32 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 18:42:25 +02:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|