wok view esound/receipt @ rev 25322
cpige: remove -static
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 22 07:58:08 2022 +0000 (2022-07-22) |
parents | e3f377fbc5f0 |
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 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 ./configure \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$install install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/etc $fs
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }