wok annotate esound/receipt @ rev 25268

xorg-cf-files/Imake.tmpl: update ArCmd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 17 14:59:20 2022 +0000 (2022-07-17)
parents e3f377fbc5f0
children
rev   line source
allan316@3644 1 # SliTaz package receipt.
allan316@3644 2
allan316@3644 3 PACKAGE="esound"
allan316@3644 4 VERSION="0.2.41"
allan316@3644 5 CATEGORY="development"
al@14129 6 SHORT_DESC="Enlightened Sound Daemon"
allan316@3644 7 MAINTAINER="allan316@gmail.com"
pascal@15202 8 LICENSE="GPL2"
pascal@20673 9 WEB_SITE="https://web.archive.org/web/20160411164635/http://www.tux.org/~ricdude/EsounD.html"
al@14129 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17869 11 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/esound/${VERSION%.*}/$TARBALL"
al@14129 12 TAGS="audio sound"
pankso@16123 13 HOST_ARCH="i486 arm"
al@14129 14
pascal@5000 15 DEPENDS="audiofile alsa-lib"
erjo@11490 16 BUILD_DEPENDS="audiofile-dev alsa-lib-dev"
allan316@3644 17
pascal@24465 18 # What is the latest version available today?
pascal@24465 19 current_version()
pascal@24465 20 {
pascal@24465 21 wget -O - ${WGET_URL%/*/*}/$( \
pascal@24465 22 wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \
pascal@24465 23 sed '/\[DIR/!d;/arent/d;s|.*ref="||;s|/.*||') 2>/dev/null | \
pascal@24465 24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24465 25 }
pascal@24465 26
allan316@3644 27 # Rules to configure and make the package.
allan316@3644 28 compile_rules()
allan316@3644 29 {
allan316@3644 30 ./configure \
allan316@3644 31 --sysconfdir=/etc \
allan316@3644 32 $CONFIGURE_ARGS &&
al@14129 33 make &&
al@14129 34 make DESTDIR=$install install
allan316@3644 35 }
allan316@3644 36
allan316@3644 37 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3644 38 genpkg_rules()
allan316@3644 39 {
allan316@3644 40 mkdir -p $fs/usr/lib
al@14129 41 cp -a $install/usr/bin $fs/usr
al@14129 42 cp -a $install/etc $fs
al@14129 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
allan316@3644 44 }