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

Up: glib (2.25.2) part of GTK upgrade
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 01 12:42:45 2010 +0200 (2010-05-01)
parents 8872a9898faa
children ce8443e75c48
line source
1 # SliTaz package receipt.
3 PACKAGE="pmount"
4 VERSION="0.9.13"
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.gz"
9 WEB_SITE="http://www.piware.de/projects.shtml"
10 WGET_URL="http://www.piware.de/projects/$TARBALL"
11 DEPENDS="dbus hal sysfsutils"
12 CONFIG_FILES="/etc/pmount.allow"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/ -D / /' src/Makefile*
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/locale
29 cp -a $_pkg/etc $fs
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
32 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
33 }