wok-current annotate moosefs/receipt @ rev 11830
U: phpmyadmin(3.4.10.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Feb 27 00:22:36 2012 +0100 (2012-02-27) |
parents | |
children | bb009a6ef036 |
rev | line source |
---|---|
pascal@11224 | 1 # SliTaz package receipt. |
pascal@11224 | 2 |
pascal@11224 | 3 PACKAGE="moosefs" |
pascal@11224 | 4 VERSION="1.6.20-2" |
pascal@11224 | 5 SOURCE="mfs" |
pascal@11224 | 6 CATEGORY="system-tools" |
pascal@11224 | 7 SHORT_DESC="Fault tolerant, network distributed file system." |
pascal@11224 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11224 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@11224 | 10 WEB_SITE="http://www.moosefs.org/" |
pascal@11224 | 11 WGET_URL="${WEB_SITE}tl_files/mfscode/$TARBALL" |
pascal@11224 | 12 |
pascal@11224 | 13 DEPENDS="python fuse zlib" |
pascal@11224 | 14 BUILD_DEPENDS="python pkg-config fuse-dev zlib-dev" |
pascal@11224 | 15 |
pascal@11224 | 16 # Rules to configure and make the package. |
pascal@11224 | 17 compile_rules() |
pascal@11224 | 18 { |
pascal@11224 | 19 cd $src |
pascal@11224 | 20 sed -i 's/bash/sh/' mfsmount/mfssnapshot |
pascal@11224 | 21 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@11224 | 22 --sysconfdir=/etc \ |
pascal@11224 | 23 --localstatedir=/var \ |
pascal@11224 | 24 $CONFIGURE_ARGS && |
pascal@11224 | 25 make && |
pascal@11224 | 26 make DESTDIR=$DESTDIR install |
pascal@11224 | 27 } |
pascal@11224 | 28 |
pascal@11224 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11224 | 30 genpkg_rules() |
pascal@11224 | 31 { |
pascal@11224 | 32 mkdir -p $fs/usr/share |
pascal@11224 | 33 cp -a $_pkg/etc $fs |
pascal@11224 | 34 cp -a $_pkg/var $fs |
pascal@11224 | 35 cp -a $_pkg/usr/share/mfscgi $fs/usr/share |
pascal@11224 | 36 cp -a $_pkg/usr/sbin $fs/usr |
pascal@11224 | 37 cp -a $_pkg/usr/bin $fs/usr |
pascal@11224 | 38 } |