wok-current view sgmixer/receipt @ rev 25469
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 07 09:15:33 2022 +0000 (2022-10-07) |
parents | 535c806240cc |
children | 2d4208bebf51 |
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 WEB_SITE="https://freshmeat.sourceforge.net/projects/sgmixer/"
12 #WGET_URL="http://openfmi.net/frs/download.php/2/$TARBALL"
13 WGET_URL="https://crux.ster.zone/distfiles/$TARBALL"
14 TAGS="mixer"
16 DEPENDS="gtk+"
17 BUILD_DEPENDS="gtk+-dev pkg-config"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | sed 's|<LI>|\n&|g' | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's|\$(prefix)|$(DESTDIR)&|' Makefile.in
30 [ -e /usr/lib/pkgconfig/libpng.pc ] ||
31 ln -s libpng12.pc /usr/lib/pkgconfig/libpng.pc
32 ./configure --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }