wok-next view pmount/receipt @ rev 9977
gcc: we want a i486 optimised compiler not to host optimised (tank is i686)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 18 21:15:14 2011 +0200 (2011-05-18) |
parents | 13103f38c608 |
children | 1de689140212 |
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 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 && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/locale
27 cp -a $_pkg/etc $fs
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
30 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
31 }