wok-current view pmount/receipt @ rev 25391

updated usb-modeswitch-data (20170806 -> 20191128)
author Hans-G?nter Theisgen
date Mon Aug 01 15:21:41 2022 +0100 (2022-08-01)
parents b78e79c31b1f
children
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="https://packages.debian.org/unstable/utils/pmount"
11 WGET_URL="https://alioth-archive.debian.org/releases/pmount/pmount/$VERSION/$TARBALL"
12 CONFIG_FILES="/etc/pmount.allow"
14 DEPENDS="dbus hal sysfsutils"
15 BUILD_DEPENDS="util-linux-blkid-dev intltool"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 sed -i 's/ -D / /' src/Makefile*
29 ./configure $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/locale
37 cp -a $install/etc $fs
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
40 cp -a $install/usr/share/locale/de $fs/usr/share/locale
41 }