wok-current view gvolwheel/receipt @ rev 25529
created recipe for neovim-0.8.3
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 14:14:14 2023 +0100 (22 months ago) |
parents | 932cd974e081 |
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 '/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 }