wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="volumeicon"
4 VERSION="0.5.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="A lightweight volume control for the system tray."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://nullwise.com/volumeicon.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://nullwise.com/files/$PACKAGE/$TARBALL"
14 DEPENDS="alsa-lib gtk+3 libnotify"
15 BUILD_DEPENDS="alsa-lib-dev gtk+3-dev libnotify-dev"
17 #HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # 0.4.6
30 # patch -p0 < $stuff/alsa_backend.patch
32 ./configure \
33 --enable-notify \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/etc/xdg
44 cp -rf ${stuff}/autostart $fs/etc/xdg
45 cp -rf ${stuff}/skel $fs/etc
46 cp -rf $install/* $fs
48 rm -rf $fs/usr/share/${PACKAGE}/icons/*Gnone
49 rm -rf $fs/usr/share/${PACKAGE}/icons/tango
50 }