wok annotate mountlo/receipt @ rev 6808
Fixed gettext-base and gettext. This is so we only need gettext-base in tazpkg since /usr/bin/gettext.sh needs ngettext and envsubst.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Oct 19 12:45:19 2010 +0000 (2010-10-19) |
parents | 94222de071f1 |
children | b2a632fc9587 |
rev | line source |
---|---|
pascal@5237 | 1 # SliTaz package receipt. |
pascal@5237 | 2 |
pascal@5237 | 3 PACKAGE="mountlo" |
pascal@5237 | 4 VERSION="0.6" |
pascal@5237 | 5 CATEGORY="system-tools" |
pascal@5237 | 6 SHORT_DESC="loopback filesystem mount implemented with FUSE." |
pascal@5237 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@5237 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@5237 | 9 WEB_SITE="http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FileSystems#Mountlo" |
pascal@5237 | 10 WGET_URL="$SF_MIRROR/fuse/$PACKAGE/$TARBALL" |
pascal@5237 | 11 TAGS="filesystem" |
pascal@5237 | 12 |
pascal@5237 | 13 # Rules to configure and make the package. |
pascal@5237 | 14 compile_rules() |
pascal@5237 | 15 { |
pascal@5237 | 16 cd $src |
pascal@5553 | 17 [ -f $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz ] || |
pascal@5553 | 18 wget $SF_MIRROR/fuse/$PACKAGE/$VERSION/$PACKAGE-i386-$VERSION.tar.gz \ |
pascal@5553 | 19 -P $SOURCES_REPOSITORY |
pascal@5237 | 20 if [ ! -f mountlo-$VERSION/mountlo ]; then |
pascal@5553 | 21 tar xzf $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz |
pascal@5237 | 22 fi |
pascal@5237 | 23 } |
pascal@5237 | 24 |
pascal@5237 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5237 | 26 genpkg_rules() |
pascal@5237 | 27 { |
pascal@5237 | 28 mkdir -p $fs/usr/bin |
pascal@5237 | 29 cp -a $src/mountlo-$VERSION/mountlo $fs/usr/bin |
pascal@5238 | 30 chown root.root $fs/usr/bin/mountlo |
pascal@5237 | 31 } |