wok-current view mountlo/receipt @ rev 11663
syslinux: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 22:03:47 2012 +0100 (2012-02-13) |
parents | 94222de071f1 |
children | b2a632fc9587 |
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 WEB_SITE="http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FileSystems#Mountlo"
10 WGET_URL="$SF_MIRROR/fuse/$PACKAGE/$TARBALL"
11 TAGS="filesystem"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 [ -f $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz ] ||
18 wget $SF_MIRROR/fuse/$PACKAGE/$VERSION/$PACKAGE-i386-$VERSION.tar.gz \
19 -P $SOURCES_REPOSITORY
20 if [ ! -f mountlo-$VERSION/mountlo ]; then
21 tar xzf $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz
22 fi
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $src/mountlo-$VERSION/mountlo $fs/usr/bin
30 chown root.root $fs/usr/bin/mountlo
31 }