wok-current view sgmixer/receipt @ rev 25687
Up expat CVE-2024-28757
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 15 07:23:20 2024 +0000 (9 months ago) |
parents | b0069c845544 |
children |
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 WGET_URL="https://web.archive.org/web/20120617123121if_/http://openfmi.net/frs/download.php/1/$TARBALL"
12 TAGS="mixer"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev pkg-config"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | sed 's|<LI>|\n&|g' | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|\$(prefix)|$(DESTDIR)&|' Makefile.in
28 [ -e /usr/lib/pkgconfig/libpng.pc ] ||
29 ln -s libpng12.pc /usr/lib/pkgconfig/libpng.pc
30 ./configure --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }