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