wok view sgmixer/receipt @ rev 25690

mmv: inserted current_version()
author Hans-G?nter Theisgen
date Mon Apr 15 15:20:24 2024 +0100 (7 weeks ago)
parents 2d4208bebf51
children
line source
1 # SliTaz package receipt.
3 PACKAGE="sgmixer"
4 VERSION="0.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="sGmixer is simple audio mixer with an easy-to-use GTK 2 interface"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20120617124707/http://openfmi.net/projects/sgmixer/"
11 WGET_URL="https://web.archive.org/web/20120617123121if_/http://openfmi.net/frs/download.php/1/$TARBALL"
12 TAGS="mixer"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev pkg-config"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/sgmixer-/!d;s|.*xer-||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|\$(prefix)|$(DESTDIR)&|' Makefile.in
28 [ -e /usr/lib/pkgconfig/libpng.pc ] ||
29 ln -s libpng12.pc /usr/lib/pkgconfig/libpng.pc
30 ./configure --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }