wok-current annotate volumeicon/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | 66cb38845fb5 |
children |
rev | line source |
---|---|
claudinei@13959 | 1 # SliTaz package receipt. |
claudinei@13959 | 2 |
claudinei@13959 | 3 PACKAGE="volumeicon" |
Hans-G?nter@22115 | 4 VERSION="0.5.1" |
claudinei@13959 | 5 CATEGORY="multimedia" |
Hans-G?nter@22115 | 6 SHORT_DESC="A lightweight volume control for the system tray." |
claudinei@13959 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL3" |
Hans-G?nter@22116 | 9 WEB_SITE="http://nullwise.com/volumeicon.html" |
Hans-G?nter@22115 | 10 |
claudinei@13959 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22116 | 12 WGET_URL="http://nullwise.com/files/$PACKAGE/$TARBALL" |
Hans-G?nter@22115 | 13 |
Hans-G?nter@22115 | 14 DEPENDS="alsa-lib gtk+3 libnotify" |
Hans-G?nter@22115 | 15 BUILD_DEPENDS="alsa-lib-dev gtk+3-dev libnotify-dev" |
Hans-G?nter@22115 | 16 |
pankso@16672 | 17 #HOST_ARCH="i486 arm" |
claudinei@13959 | 18 |
pascal@24304 | 19 # What is the latest version available today? |
pascal@24304 | 20 current_version() |
pascal@24304 | 21 { |
pascal@24304 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24304 | 23 sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.tar.*||;q" |
pascal@24304 | 24 } |
pascal@24304 | 25 |
claudinei@13959 | 26 # Rules to configure and make the package. |
claudinei@13959 | 27 compile_rules() |
claudinei@13959 | 28 { |
Hans-G?nter@22115 | 29 # 0.4.6 |
Hans-G?nter@22115 | 30 # patch -p0 < $stuff/alsa_backend.patch |
Hans-G?nter@22115 | 31 |
Hans-G?nter@22115 | 32 ./configure \ |
Hans-G?nter@22115 | 33 --enable-notify \ |
Hans-G?nter@22115 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@22115 | 35 make && |
Hans-G?nter@22115 | 36 make install |
claudinei@13959 | 37 } |
claudinei@13959 | 38 |
claudinei@13959 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@13959 | 40 genpkg_rules() |
claudinei@13959 | 41 { |
pankso@16429 | 42 mkdir -p $fs/etc/xdg |
Hans-G?nter@22115 | 43 |
Hans-G?nter@22115 | 44 cp -rf ${stuff}/autostart $fs/etc/xdg |
Hans-G?nter@22115 | 45 cp -rf ${stuff}/skel $fs/etc |
Hans-G?nter@22115 | 46 cp -rf $install/* $fs |
Hans-G?nter@22115 | 47 |
pankso@16429 | 48 rm -rf $fs/usr/share/${PACKAGE}/icons/*Gnone |
pankso@16429 | 49 rm -rf $fs/usr/share/${PACKAGE}/icons/tango |
claudinei@13959 | 50 } |