wok view owfs/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 b7319995b37e
children 401224c936cc
line source
1 # SliTaz package receipt.
3 PACKAGE="owfs"
4 VERSION="2.7p33"
5 CATEGORY="misc"
6 SHORT_DESC="OWFS One Wire File System."
7 MAINTAINER="l.lemarinel@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="www.owfs.org"
11 WGET_URL="http://freefr.dl.sourceforge.net/project/owfs/owfs/$VERSION/$TARBALL"
13 BUILD_DEPENDS="fuse-dev libusb libusb-dev libusb-compat"
14 DEPENDS="fuse libusb"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --bindir=/usr/bin $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }