summaryrefslogtreecommitdiff
path: root/libre-testing/xfsprogs
diff options
context:
space:
mode:
authorBruno Cichon <ebrasca@librepanther.com>2018-10-01 01:51:03 +0200
committerBruno Cichon <ebrasca@librepanther.com>2018-10-01 01:51:03 +0200
commit56f955aca6231693fe797de4793f77ed58ab116e (patch)
tree17daeabce98174f288bab94b47961dc9e9931e66 /libre-testing/xfsprogs
parent75ff40baa049bae7e9270d20ef86a88b733006ab (diff)
downloadabslibre-56f955aca6231693fe797de4793f77ed58ab116e.tar.gz
abslibre-56f955aca6231693fe797de4793f77ed58ab116e.tar.bz2
abslibre-56f955aca6231693fe797de4793f77ed58ab116e.zip
Add some base packages for ppc64le
Diffstat (limited to 'libre-testing/xfsprogs')
-rw-r--r--libre-testing/xfsprogs/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/libre-testing/xfsprogs/PKGBUILD b/libre-testing/xfsprogs/PKGBUILD
new file mode 100644
index 000000000..4ebfc1674
--- /dev/null
+++ b/libre-testing/xfsprogs/PKGBUILD
@@ -0,0 +1,33 @@
+#
+pkgname=xfsprogs
+pkgver=4.18.0
+pkgrel=1
+pkgdesc="XFS filesystem utilities"
+arch=('x86_64' 'ppc64le')
+license=('LGPL')
+url="http://xfs.org"
+groups=('base')
+depends=('sh' 'libutil-linux' 'readline')
+makedepends=('git')
+options=('!makeflags')
+source=("git+https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git#tag=v${pkgver}")
+md5sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}-dev"
+ make configure
+ export OPTIMIZER="-mcpu=${CARCH/_/-} -O1"
+ export DEBUG=-DNDEBUG
+ ./configure --prefix=/usr --sbindir=/usr/bin --enable-readline
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-dev"
+ make DIST_ROOT="${pkgdir}" PKG_ROOT_SBIN_DIR="/usr/bin" install install-dev
+ chown -R root $pkgdir
+ chgrp -R root $pkgdir
+ # add hack as we cannot set rootlibdir
+ mv "${pkgdir}"/lib/libhandle.so* "${pkgdir}/usr/lib/"
+ rm -rf "${pkgdir}/lib"
+}