wok view gvolwheel/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 097600d80931 |
children |
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="https://github.com/Junker/gvolwheel"
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }