# SliTaz package receipt. PACKAGE="xfce4-volumed" VERSION="0.1.13" HI_VERSION=$(echo $VERSION | cut -d. -f1,2) CATEGORY="x-window" SHORT_DESC="Volume keys daemon" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" WEB_SITE="https://launchpad.net/xfce4-volumed/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://archive.xfce.org/src/apps/xfce4-volumed/$HI_VERSION/$TARBALL" DEPENDS="gst-plugins-base libkeybinder libnotify libxfconf" BUILD_DEPENDS="libxfconf-dev gstreamer-dev gst-plugins-base-dev \ libkeybinder-dev libxml2-dev libnotify-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }