wok view gvolwheel/receipt @ rev 24987

grub: add gpt support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 12 07:08:39 2022 +0000 (2022-05-12)
parents f6af821600e6
children 097600d80931
line source
1 # SliTaz package receipt.
3 PACKAGE="gvolwheel"
4 VERSION="0.7"
5 # version > 0.7 use GTK+3
6 CATEGORY="utilities"
7 SHORT_DESC="Lightweight application to control the audio volume"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL3"
10 WEB_SITE="http://gvolwheel.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="atk bzlib cairo expat fontconfig freetype gcc-lib-base gdk-pixbuf \
15 glib glibc-base gtk+ libffi libgio libpng libxcb pango pixman xorg-libX11 \
16 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
17 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender zlib"
18 BUILD_DEPENDS="alsa-lib-dev gtk+-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://github.com/Junker/gvolwheel/releases 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 sed -i 's|/doc|/share&|' Makefile*
31 ./configure $CONFIGURE_ARGS && make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 rm -rf $fs/usr/share/doc
39 }