wok-6.x view mountlo/receipt @ rev 20454
Up zstd (1.3.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 06 15:17:20 2018 +0200 (2018-10-06) |
parents | 380ffe05937a |
children | 8dd8bab3f0ca |
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="https://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 }