wok-current view esound/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (2 weeks ago)
parents 535c806240cc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="esound"
4 VERSION="0.2.41"
5 CATEGORY="development"
6 SHORT_DESC="Enlightened Sound Daemon"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://web.archive.org/web/20160411164635/http://www.tux.org/~ricdude/EsounD.html"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/esound/${VERSION%.*}/$TARBALL"
12 TAGS="audio sound"
13 HOST_ARCH="i486 x86_64 arm"
15 DEPENDS="audiofile alsa-lib"
16 BUILD_DEPENDS="audiofile-dev alsa-lib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*/*}/$( \
22 wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \
23 sed '/\[DIR/!d;/arent/d;s|.*ref="||;s|/.*||') 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
31 ./configure \
32 --sysconfdir=/etc \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$install install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/etc $fs
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }