wok-current view pmount/receipt @ rev 24966
updated nettle and nettle-dev (3.5.1 -> 3.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 25 07:28:45 2022 +0100 (2022-04-25) |
parents | 8dd8bab3f0ca |
children | 1805f71c5d9f |
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="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 # 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 }