wok view glusterfs/receipt @ rev 13518
Up p910nd (0.95)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 19 12:24:13 2012 +0200 (2012-10-19) |
parents | |
children | 0c6a04728acf |
line source
1 # SliTaz package receipt.
3 PACKAGE="glusterfs"
4 VERSION="3.3.0"
5 CATEGORY="misc"
6 SHORT_DESC="Distributed file system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.gluster.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="http://download.gluster.org/pub/gluster/glusterfs/${VERSION%.*}/$VERSION/$TARBALL"
12 DEPENDS="python readline mpc-library elfutils openssl"
13 BUILD_DEPENDS="flex python readline-dev mpc-library elfutils openssl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --libexecdir=/usr/share \
21 --mandir=/usr/share/man \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/var $fs
35 cp -a $_pkg/sbin $fs
36 cp -a $_pkg/usr/sbin $fs/usr
37 cp -a $_pkg/usr/lib $fs/usr
38 cp -a $_pkg/usr/share/glusterfs $fs/usr/share
39 }