# SliTaz package receipt. PACKAGE="gvolwheel" VERSION="0.7" # version > 0.7 use GTK+3 CATEGORY="utilities" SHORT_DESC="Lightweight application to control the audio volume" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" WEB_SITE="https://github.com/Junker/gvolwheel" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="atk bzlib cairo expat fontconfig freetype gcc-lib-base gdk-pixbuf \ glib glibc-base gtk+ libffi libgio libpng libxcb pango pixman xorg-libX11 \ xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \ xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender zlib" BUILD_DEPENDS="alsa-lib-dev gtk+-dev" # What is the latest version available today? current_version() { wget -O - https://github.com/Junker/gvolwheel/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { sed -i 's|/doc|/share&|' Makefile* ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs rm -rf $fs/usr/share/doc }