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