wok-6.x view sgmixer/receipt @ rev 22010

updated task again (2.3.0 -> 2.5.1)
author Hans-G?nter Theisgen
date Sat Oct 19 15:19:01 2019 +0100 (2019-10-19)
parents
children 535c806240cc
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="http://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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|\$(prefix)|$(DESTDIR)&|' Makefile.in
23 [ -e /usr/lib/pkgconfig/libpng.pc ] ||
24 ln -s libpng12.pc /usr/lib/pkgconfig/libpng.pc
25 ./configure --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }