wok-4.x view pmount/receipt @ rev 12037

linux, linux-libre: do not create $WOK/tmp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 07 09:10:02 2012 +0100 (2012-03-07)
parents 1de689140212
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pmount"
4 VERSION="0.9.23"
5 CATEGORY="system-tools"
6 SHORT_DESC="Mount arbitrary hotpluggable devices as normal user."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://pmount.alioth.debian.org/"
10 WGET_URL="http://alioth.debian.org/frs/download.php/3310/$TARBALL"
11 DEPENDS="dbus hal sysfsutils"
12 BUILD_DEPENDS="util-linux-ng-blkid-dev intltool"
13 CONFIG_FILES="/etc/pmount.allow"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/ -D / /' src/Makefile*
20 ./configure $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
31 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
32 }