wok view mountlo/receipt @ rev 15136
puzzles: create version2.def
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 10:51:36 2013 +0000 (2013-08-15) |
parents | b2a632fc9587 |
children | 86790a278e70 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 EXTRA_SOURCE_FILES="$PACKAGE-i386-$VERSION.tar.gz"
11 WEB_SITE="http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FileSystems#Mountlo"
12 WGET_URL="$SF_MIRROR/fuse/$PACKAGE/$TARBALL"
13 TAGS="filesystem"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 [ -f $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz ] ||
20 wget $SF_MIRROR/fuse/$PACKAGE/$VERSION/$PACKAGE-i386-$VERSION.tar.gz \
21 -P $SOURCES_REPOSITORY
22 if [ ! -f mountlo-$VERSION/mountlo ]; then
23 tar xzf $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz
24 fi
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $src/mountlo-$VERSION/mountlo $fs/usr/bin
32 chown root.root $fs/usr/bin/mountlo
33 }