wok-current annotate 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 |
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@24465 | 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | sed 's|<LI>|\n&|g' | \ |
pascal@24465 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed 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 } |