summaryrefslogtreecommitdiff
path: root/community/glusterfs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/glusterfs/PKGBUILD')
-rw-r--r--community/glusterfs/PKGBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/community/glusterfs/PKGBUILD b/community/glusterfs/PKGBUILD
index bd9fb167c..382db18de 100644
--- a/community/glusterfs/PKGBUILD
+++ b/community/glusterfs/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 103705 2014-01-10 10:51:26Z spupykin $
+# $Id: PKGBUILD 110808 2014-05-07 14:49:12Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributors:
# Andrei Antoukh - niwi@niwi.be - http://www.niwi.be
# henning mueller <henning@orgizm.net>
pkgname=glusterfs
-pkgver=3.4.2
+pkgver=3.5.0
_basever=`echo $pkgver | cut -f1-2 -d.`
pkgrel=1
pkgdesc='Is a cluster file-system capable of scaling to several peta-bytes.'
@@ -15,11 +15,17 @@ license=(GPL2 LGPL3)
depends=(fuse python2 libxml2)
makedepends=(flex bison)
source=(http://download.gluster.org/pub/gluster/glusterfs/$_basever/$pkgver/glusterfs-$pkgver.tar.gz)
-md5sums=('7c05304a9aca3c85ff27458461783623')
+md5sums=('5c141ba3e5306d550d9092e3d1ad6d50')
-build() {
+prepare() {
cd $srcdir/$pkgname-$pkgver
+ find -type f -name '*.py' -exec sed -i \
+ -e 's:env\ python:env\ python2:' \
+ -e 's:/usr/bin/python:/usr/bin/python2:' {} \;
+}
+build() {
+ cd $srcdir/$pkgname-$pkgver
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
@@ -29,14 +35,9 @@ build() {
--mandir=/usr/share/man \
--libexecdir=/usr/lib/$pkgname \
--with-systemddir=/usr/lib/systemd/system \
- PYTHON=python2
-
+ PYTHON=python2 LEXLIB=
+ ./gen-headers.py
make
-
- sed -i s:env\ python:env\ python2: \
- xlators/features/marker/utils/syncdaemon/gsyncd.py
- sed -i s:/usr/bin/python:/usr/bin/python2: \
- contrib/ipaddr-py/ipaddr.py
}
package() {