wok-current view xfce4-volumed/receipt @ rev 25109

Up perl-date-manip (6.88)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 25 09:21:55 2022 +0000 (2022-06-25)
parents 17091bc7c301
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-volumed"
4 VERSION="0.1.13"
5 HI_VERSION=$(echo $VERSION | cut -d. -f1,2)
6 CATEGORY="x-window"
7 SHORT_DESC="Volume keys daemon"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL3"
10 WEB_SITE="https://launchpad.net/xfce4-volumed/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://archive.xfce.org/src/apps/xfce4-volumed/$HI_VERSION/$TARBALL"
14 DEPENDS="gst-plugins-base libkeybinder libnotify libxfconf"
15 BUILD_DEPENDS="libxfconf-dev gstreamer-dev gst-plugins-base-dev \
16 libkeybinder-dev libxml2-dev libnotify-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
22 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure $CONFIGURE_ARGS && make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }