wok-6.x view alsa-plugins/receipt @ rev 25045

Update some wget_url or web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 04 08:33:59 2022 +0000 (2022-06-04)
parents 0644ee05ddc4
children 28a7ae4237c6
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-plugins"
4 VERSION="1.1.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa sound system additionnal plugins."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.alsa-project.org/"
11 WGET_URL="ftp://ftp.alsa-project.org/pub/plugins/$TARBALL"
13 DEPENDS="alsa-lib libsamplerate speex"
14 BUILD_DEPENDS="pkg-config alsa-lib-dev libsamplerate-dev speex-dev"
16 current_version()
17 {
18 wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \
19 sed '/alsa-plugins-/!d;s|.*alsa-plugins-||;s|.tar.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make -j1 DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/alsa-lib
37 cp -a $install/usr/lib/alsa-lib/*.so $fs/usr/lib/alsa-lib
38 }