wok-6.x view pmount/receipt @ rev 12412
Add upower (Freedesktop power framwork
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 20 18:15:54 2012 +0200 (2012-04-20) |
parents | 1de689140212 |
children | 73641efed1cc |
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 }