# SliTaz package receipt. PACKAGE="volumeicon" VERSION="0.5.1" CATEGORY="multimedia" SHORT_DESC="A lightweight volume control for the system tray." MAINTAINER="claudinei@slitaz.org" LICENSE="GPL3" WEB_SITE="http://nullwise.com/volumeicon.html" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://nullwise.com/files/$PACKAGE/$TARBALL" DEPENDS="alsa-lib gtk+3 libnotify" BUILD_DEPENDS="alsa-lib-dev gtk+3-dev libnotify-dev" #HOST_ARCH="i486 arm" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.tar.*||;q" } # Rules to configure and make the package. compile_rules() { # 0.4.6 # patch -p0 < $stuff/alsa_backend.patch ./configure \ --enable-notify \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/etc/xdg cp -rf ${stuff}/autostart $fs/etc/xdg cp -rf ${stuff}/skel $fs/etc cp -rf $install/* $fs rm -rf $fs/usr/share/${PACKAGE}/icons/*Gnone rm -rf $fs/usr/share/${PACKAGE}/icons/tango }