[arch-commits] Commit in glusterfs/trunk (PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Wed May 7 14:48:57 UTC 2014
Date: Wednesday, May 7, 2014 @ 16:48:57
Author: spupykin
Revision: 110807
upgpkg: glusterfs 3.5.0-1
upd
Modified:
glusterfs/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-05-07 14:28:43 UTC (rev 110806)
+++ PKGBUILD 2014-05-07 14:48:57 UTC (rev 110807)
@@ -5,7 +5,7 @@
# henning mueller <henning at 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 @@
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')
+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 @@
--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() {
More information about the arch-commits
mailing list