wok-current view pmount/receipt @ rev 20220

Up tazlito (487)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 11:07:16 2018 +0100 (2018-02-26)
parents 73641efed1cc
children 8dd8bab3f0ca
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://pmount.alioth.debian.org/"
11 WGET_URL="http://alioth.debian.org/frs/download.php/3310/$TARBALL"
12 CONFIG_FILES="/etc/pmount.allow"
14 DEPENDS="dbus hal sysfsutils"
15 BUILD_DEPENDS="util-linux-blkid-dev intltool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/ -D / /' src/Makefile*
22 ./configure $CONFIGURE_ARGS &&
23 make && make 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 $install/etc $fs
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
33 cp -a $install/usr/share/locale/de $fs/usr/share/locale
34 }