wok-next annotate pmount/receipt @ rev 18065
ppp.cgi: use 'vpn' and 'modem' icons.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 18 17:24:41 2015 +0300 (2015-05-18) |
parents | 73641efed1cc |
children | 10df65db91ad |
rev | line source |
---|---|
pascal@1888 | 1 # SliTaz package receipt. |
pascal@1888 | 2 |
pascal@1888 | 3 PACKAGE="pmount" |
slaxemulator@10249 | 4 VERSION="0.9.23" |
pascal@1888 | 5 CATEGORY="system-tools" |
pascal@1888 | 6 SHORT_DESC="Mount arbitrary hotpluggable devices as normal user." |
pascal@1888 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
slaxemulator@10249 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@5438 | 10 WEB_SITE="http://pmount.alioth.debian.org/" |
slaxemulator@10249 | 11 WGET_URL="http://alioth.debian.org/frs/download.php/3310/$TARBALL" |
pascal@14999 | 12 CONFIG_FILES="/etc/pmount.allow" |
pascal@14999 | 13 |
pascal@2456 | 14 DEPENDS="dbus hal sysfsutils" |
pankso@12481 | 15 BUILD_DEPENDS="util-linux-blkid-dev intltool" |
pascal@1888 | 16 |
pascal@1888 | 17 # Rules to configure and make the package. |
pascal@1888 | 18 compile_rules() |
pascal@1888 | 19 { |
pascal@1888 | 20 cd $src |
pascal@1888 | 21 sed -i 's/ -D / /' src/Makefile* |
slaxemulator@10069 | 22 ./configure $CONFIGURE_ARGS && |
slaxemulator@10069 | 23 make && make install |
pascal@1888 | 24 } |
pascal@1888 | 25 |
pascal@1888 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1888 | 27 genpkg_rules() |
pascal@1888 | 28 { |
pascal@1888 | 29 mkdir -p $fs/usr/share/locale |
pascal@14999 | 30 cp -a $install/etc $fs |
pascal@14999 | 31 cp -a $install/usr/bin $fs/usr |
pascal@14999 | 32 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@14999 | 33 cp -a $install/usr/share/locale/de $fs/usr/share/locale |
pascal@1888 | 34 } |
pascal@1888 | 35 |