wok-6.x annotate zmixer/receipt @ rev 24418
clamtk: replaced perl-gtk2 by perl-gtk3
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 09:25:31 2022 +0100 (2022-02-11) |
parents | ac5bcc9f308c |
children |
rev | line source |
---|---|
pascal@20706 | 1 # SliTaz package receipt. |
pascal@20706 | 2 |
pascal@20706 | 3 PACKAGE="zmixer" |
pascal@20706 | 4 VERSION="0.2.1" |
pascal@20706 | 5 CATEGORY="multimedia" |
pascal@20706 | 6 SHORT_DESC="A simple volume control that uses the advanced linux sound architecture" |
pascal@20706 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20706 | 8 LICENSE="GPL2" |
pascal@20706 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20706 | 10 WEB_SITE="https://zwin.org/zmixer/" |
pascal@20706 | 11 WGET_URL="$WEB_SITE$TARBALL" |
pascal@20706 | 12 TAGS="mixer" |
pascal@20706 | 13 |
pascal@20706 | 14 DEPENDS="gtk+ alsa-lib" |
pascal@20706 | 15 BUILD_DEPENDS="gtk+-dev alsa-lib-dev pkg-config" |
pascal@20706 | 16 |
pascal@24304 | 17 # What is the latest version available today? |
pascal@24304 | 18 current_version() |
pascal@24304 | 19 { |
pascal@24304 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24304 | 21 sed "/$PACKAGE-/!d;/tar.gz/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1 |
pascal@24304 | 22 } |
pascal@24304 | 23 |
pascal@20706 | 24 # Rules to configure and make the package. |
pascal@20706 | 25 compile_rules() |
pascal@20706 | 26 { |
pascal@20706 | 27 make |
pascal@20706 | 28 } |
pascal@20706 | 29 |
pascal@20706 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20706 | 31 genpkg_rules() |
pascal@20706 | 32 { |
pascal@20706 | 33 mkdir -p $fs/usr/bin |
pascal@20706 | 34 cp -a $src/zmixer $fs/usr/bin |
pascal@20706 | 35 } |