wok-6.x annotate pmount/receipt @ rev 24448

firefox-official*: disable update by policy
author Hans-G?nter Theisgen
date Tue Feb 15 10:43:08 2022 +0100 (2022-02-15)
parents 8dd8bab3f0ca
children 1805f71c5d9f
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@24419 17 # What is the latest version available today?
pascal@24419 18 current_version()
pascal@24419 19 {
pascal@24419 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24419 21 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24419 22 }
pascal@24419 23
pascal@1888 24 # Rules to configure and make the package.
pascal@1888 25 compile_rules()
pascal@1888 26 {
pascal@1888 27 cd $src
pascal@1888 28 sed -i 's/ -D / /' src/Makefile*
slaxemulator@10069 29 ./configure $CONFIGURE_ARGS &&
slaxemulator@10069 30 make && make install
pascal@1888 31 }
pascal@1888 32
pascal@1888 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1888 34 genpkg_rules()
pascal@1888 35 {
pascal@1888 36 mkdir -p $fs/usr/share/locale
pascal@14999 37 cp -a $install/etc $fs
pascal@14999 38 cp -a $install/usr/bin $fs/usr
pascal@14999 39 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
pascal@14999 40 cp -a $install/usr/share/locale/de $fs/usr/share/locale
pascal@1888 41 }
pascal@1888 42