wok annotate sgmixer/receipt @ rev 25621

Add sngrep
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 31 08:29:57 2023 +0000 (15 months ago)
parents 2d4208bebf51
children
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@25509 10 WEB_SITE="https://web.archive.org/web/20120617124707/http://openfmi.net/projects/sgmixer/"
pascal@25509 11 WGET_URL="https://web.archive.org/web/20120617123121if_/http://openfmi.net/frs/download.php/1/$TARBALL"
pascal@20706 12 TAGS="mixer"
pascal@20706 13
pascal@20706 14 DEPENDS="gtk+"
pascal@20706 15 BUILD_DEPENDS="gtk+-dev pkg-config"
pascal@20706 16
pascal@24465 17 # What is the latest version available today?
pascal@24465 18 current_version()
pascal@24465 19 {
pascal@25608 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@25608 21 sed '/sgmixer-/!d;s|.*xer-||;q'
pascal@24465 22 }
pascal@24465 23
pascal@20706 24 # Rules to configure and make the package.
pascal@20706 25 compile_rules()
pascal@20706 26 {
pascal@20706 27 sed -i 's|\$(prefix)|$(DESTDIR)&|' Makefile.in
pascal@20706 28 [ -e /usr/lib/pkgconfig/libpng.pc ] ||
pascal@20706 29 ln -s libpng12.pc /usr/lib/pkgconfig/libpng.pc
pascal@20706 30 ./configure --prefix=/usr \
pascal@20706 31 $CONFIGURE_ARGS &&
pascal@20706 32 make &&
pascal@20706 33 make DESTDIR=$DESTDIR install
pascal@20706 34 }
pascal@20706 35
pascal@20706 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20706 37 genpkg_rules()
pascal@20706 38 {
pascal@20706 39 mkdir -p $fs/usr
pascal@20706 40 cp -a $install/usr/bin $fs/usr
pascal@20706 41 }