wok annotate sgmixer/receipt @ rev 25466

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 09:32:27 2022 +0000 (20 months ago)
parents ac5bcc9f308c
children b0069c845544
rev   line source
pascal@20706 1 # SliTaz package receipt.
pascal@20706 2
pascal@20706 3 PACKAGE="sgmixer"
pascal@20706 4 VERSION="0.3"
pascal@20706 5 CATEGORY="multimedia"
pascal@20706 6 SHORT_DESC="sGmixer is simple audio mixer with an easy-to-use GTK 2 interface"
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://web.archive.org/web/20120617124707/http://openfmi.net/projects/sgmixer/"
pascal@20706 11 WEB_SITE="http://freshmeat.sourceforge.net/projects/sgmixer/"
pascal@20706 12 #WGET_URL="http://openfmi.net/frs/download.php/2/$TARBALL"
pascal@20706 13 WGET_URL="https://crux.ster.zone/distfiles/$TARBALL"
pascal@20706 14 TAGS="mixer"
pascal@20706 15
pascal@20706 16 DEPENDS="gtk+"
pascal@20706 17 BUILD_DEPENDS="gtk+-dev pkg-config"
pascal@20706 18
pascal@24465 19 # What is the latest version available today?
pascal@24465 20 current_version()
pascal@24465 21 {
pascal@24465 22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | sed 's|<LI>|\n&|g' | \
pascal@24465 23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24465 24 }
pascal@24465 25
pascal@20706 26 # Rules to configure and make the package.
pascal@20706 27 compile_rules()
pascal@20706 28 {
pascal@20706 29 sed -i 's|\$(prefix)|$(DESTDIR)&|' Makefile.in
pascal@20706 30 [ -e /usr/lib/pkgconfig/libpng.pc ] ||
pascal@20706 31 ln -s libpng12.pc /usr/lib/pkgconfig/libpng.pc
pascal@20706 32 ./configure --prefix=/usr \
pascal@20706 33 $CONFIGURE_ARGS &&
pascal@20706 34 make &&
pascal@20706 35 make DESTDIR=$DESTDIR install
pascal@20706 36 }
pascal@20706 37
pascal@20706 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20706 39 genpkg_rules()
pascal@20706 40 {
pascal@20706 41 mkdir -p $fs/usr
pascal@20706 42 cp -a $install/usr/bin $fs/usr
pascal@20706 43 }