wok-next annotate volumeicon/receipt @ rev 16575
Up: slitaz-arm-codex, slitaz-arm-configs, slitaz-arm-rpi
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 02 23:25:04 2014 +0200 (2014-05-02) |
parents | f4c22f009037 |
children | 9551ead9a212 |
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@16429 | 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 } |