wok view glusterfs/receipt @ rev 15669

iptables: rm *.pc files, mv bin files to /usr/sbin
author Richard Dunbar <mojo@slitaz.org>
date Wed Dec 18 00:14:55 2013 +0000 (2013-12-18)
parents 0c6a04728acf
children 16df76e1fc6a
line source
1 # SliTaz package receipt.
3 PACKAGE="glusterfs"
4 VERSION="3.3.1"
5 CATEGORY="misc"
6 SHORT_DESC="Distributed file system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL3"
9 WEB_SITE="http://www.gluster.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://bits.gluster.com/pub/gluster/glusterfs/src/$TARBALL"
13 DEPENDS="python readline mpc-library elfutils openssl"
14 BUILD_DEPENDS="flex python readline-dev mpc-library elfutils openssl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --libexecdir=/usr/share \
22 --mandir=/usr/share/man \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/etc $fs
35 cp -a $install/var $fs
36 cp -a $install/sbin $fs
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share/glusterfs $fs/usr/share
41 # Clean-up
42 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
43 }