wok-next view pmount/receipt @ rev 8922

Fix gob2: add bdep flex
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 01 02:33:54 2011 +0100 (2011-03-01)
parents ce8443e75c48
children 91821d2640b2
line source
1 # SliTaz package receipt.
3 PACKAGE="pmount"
4 VERSION="0.9.20"
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://pmount.alioth.debian.org/"
10 WGET_URL="http://alioth.debian.org/frs/download.php/3127/$TARBALL"
11 DEPENDS="dbus hal sysfsutils"
12 BUILD_DEPENDS="util-linux-ng-blkid-dev"
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 --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/locale
30 cp -a $_pkg/etc $fs
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
33 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
34 }