wok view avfs/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 54fd732dc684
children 6e8b1bcb30e2
line source
1 # SliTaz package receipt.
3 PACKAGE="avfs"
4 VERSION="1.0.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="A virtual Filesystem implemented with FUSE."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://avfs.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/avf/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="fuse liblzma"
14 BUILD_DEPENDS="fuse-dev liblzma-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --enable-fuse \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 cp -a $install/usr/lib/avfs $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }