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