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