updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cvmfs / PKGBUILD
blob4614c4b718fca29a76fa88b6d77389d42dfd9002
1 # Contributor: Sebastien Binet binet-at-cern-ch
2 pkgname=cvmfs
3 pkgver=0.2.53
4 pkgrel=2
5 pkgdesc="a client-server file system developed to deliver software distributions onto virtual machines in a fast, scalable, and reliable way."
6 arch=('i686' 'x86_64')
7 url="http://cernvm.cern.ch"
8 license=('BSD')
9 depends=(fuse sqlite3 curl)
10 makedepends=(bison flex)
11 source=(https://cernvm.cern.ch/project/trac/downloads/cernvm/cvmfs-${pkgver}.tar.gz cvmfs.initd2rcd.patch)
12 md5sums=('d12e87d783225b545dad386c5019510c'
13          '7258adf7037ef73e77988af9710485e1')
16 build() {
18   cd $startdir/src
19   patch -p0 < cvmfs.initd2rcd.patch || return 1
21   cd $startdir/src/cvmfs-$pkgver
22   LDFLAGS='-Wl,--hash-style=both' \
23     ./configure --prefix=/usr
25   LDFLAGS='-Wl,--hash-style=both' \
26     make
27   LDFLAGS='-Wl,--hash-style=both' \
28     make DESTDIR=$startdir/pkg install
30   mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
31   /bin/install -c -m 644 'COPYING' $startdir/pkg/usr/share/licenses/$pkgname/LICENSE