wok annotate sgmixer/receipt @ rev 21190

libcdio-paranoia-dev: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 03 18:01:46 2019 +0200 (2019-04-03)
parents
children 535c806240cc
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@20706 19 # Rules to configure and make the package.
pascal@20706 20 compile_rules()
pascal@20706 21 {
pascal@20706 22 sed -i 's|\$(prefix)|$(DESTDIR)&|' Makefile.in
pascal@20706 23 [ -e /usr/lib/pkgconfig/libpng.pc ] ||
pascal@20706 24 ln -s libpng12.pc /usr/lib/pkgconfig/libpng.pc
pascal@20706 25 ./configure --prefix=/usr \
pascal@20706 26 $CONFIGURE_ARGS &&
pascal@20706 27 make &&
pascal@20706 28 make DESTDIR=$DESTDIR install
pascal@20706 29 }
pascal@20706 30
pascal@20706 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20706 32 genpkg_rules()
pascal@20706 33 {
pascal@20706 34 mkdir -p $fs/usr
pascal@20706 35 cp -a $install/usr/bin $fs/usr
pascal@20706 36 }