wok-6.x view pmount/receipt @ rev 5090

Up: Wvdial;build-depends on wvstreams; improve receipt
author Rohit Joshi <jozee@slitaz.org>
date Mon Mar 15 14:32:48 2010 +0000 (2010-03-15)
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 }