wok view mountlo/receipt @ rev 14337

Add EXTRA_SOURCE_FILES variable to track sources files for the mirrors
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 13 19:32:46 2013 +0200 (2013-04-13)
parents b4b992b90e4a
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="mountlo"
4 VERSION="0.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="loopback filesystem mount implemented with FUSE."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 EXTRA_SOURCE_FILES="$PACKAGE-i386-$VERSION.tar.gz"
10 WEB_SITE="http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FileSystems#Mountlo"
11 WGET_URL="$SF_MIRROR/fuse/$PACKAGE/$TARBALL"
12 TAGS="filesystem"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 [ -f $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz ] ||
19 wget $SF_MIRROR/fuse/$PACKAGE/$VERSION/$PACKAGE-i386-$VERSION.tar.gz \
20 -P $SOURCES_REPOSITORY
21 if [ ! -f mountlo-$VERSION/mountlo ]; then
22 tar xzf $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz
23 fi
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $src/mountlo-$VERSION/mountlo $fs/usr/bin
31 chown root.root $fs/usr/bin/mountlo
32 }