wok-6.x view mountlo/receipt @ rev 18148
Up: slitaz-base-files (276)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 18 20:02:11 2015 +0300 (2015-06-18) |
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 }