wok-6.x annotate volumeicon/receipt @ rev 19777

Up cookutils (882)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 21:19:57 2017 +0100 (2017-02-21)
parents 28f3ef225377
children 1638c6fcfc7c
rev   line source
claudinei@13959 1 # SliTaz package receipt.
claudinei@13959 2
claudinei@13959 3 PACKAGE="volumeicon"
claudinei@13959 4 VERSION="0.4.6"
claudinei@13959 5 CATEGORY="multimedia"
claudinei@13959 6 SHORT_DESC="Volumeicon is a lightweight volume control in your systray."
claudinei@13959 7 MAINTAINER="claudinei@slitaz.org"
pascal@15201 8 LICENSE="GPL3"
claudinei@13959 9 WEB_SITE="http://softwarebakery.com/maato/volumeicon.html"
claudinei@13959 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
claudinei@13959 11 WGET_URL="http://softwarebakery.com/maato/files/$PACKAGE/$TARBALL"
pankso@16672 12 #HOST_ARCH="i486 arm"
claudinei@13959 13
claudinei@13959 14 DEPENDS="gtk+ alsa-lib libnotify"
claudinei@13959 15 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libnotify-dev"
claudinei@13959 16
claudinei@13959 17 # Rules to configure and make the package.
claudinei@13959 18 compile_rules()
claudinei@13959 19 {
claudinei@13959 20 patch -p0 < $stuff/alsa_backend.patch
claudinei@13959 21 ./configure --enable-notify $CONFIGURE_ARGS &&
pankso@16429 22 make && make install
claudinei@13959 23 }
claudinei@13959 24
claudinei@13959 25 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@13959 26 genpkg_rules()
claudinei@13959 27 {
pankso@16429 28 mkdir -p $fs/etc/xdg
pankso@16429 29 cp -rf ${stuff}/autostart $fs/etc/xdg
pankso@16429 30 cp -rf ${stuff}/skel $fs/etc
pankso@16429 31 cp -rf $install/* $fs
pankso@16429 32 rm -rf $fs/usr/share/${PACKAGE}/icons/*Gnone
pankso@16429 33 rm -rf $fs/usr/share/${PACKAGE}/icons/tango
claudinei@13959 34 }