wok-current annotate sgmixer/receipt @ rev 22409
up: Tor 0.4.1.6 -> 0.4.1.7
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Tue Dec 10 16:26:24 2019 +0000 (2019-12-10) |
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 } |