wok annotate pmount/receipt @ rev 23920
Up tazusb (207)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 19 17:19:00 2020 +0000 (2020-08-19) |
parents | 2b9f96603415 |
children | b78e79c31b1f |
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" |
pascal@20672 | 10 WEB_SITE="https://packages.debian.org/unstable/utils/pmount" |
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 |