wok view aqualung/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 964bcabe7e8c
children 343c093ad221
line source
1 # SliTaz package receipt.
3 PACKAGE="aqualung"
4 VERSION="1.1"
5 CATEGORY="multimedia"
6 TAGS="music audio player mp3 ogg"
7 SHORT_DESC="Aqualung audio player."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://aqualung.jeremyevans.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/jeremyevans/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"
15 SUGGESTED="aqualung-lang"
16 DEPENDS="alsa-lib bzlib flac gtk+ lame libcdio libmad libmodplug libogg
17 libsamplerate libsndfile libvorbis"
18 BUILD_DEPENDS="alsa-lib-dev automake bzip2-dev flac-dev gtk+-dev lame-dev libmad-dev
19 libogg-dev libsamplerate-dev libsndfile-dev libvorbis-dev libxml2-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 # Trying to create ~/.config when ~/.config already exists
32 # aborts program.
33 # In SliTaz ~/.config should already exist.
34 patch --strip=0 --input=$stuff/patches/core.c-1.1
36 ./autogen.sh &&
37 ./configure \
38 --with-lavc=no \
39 --with-jack=no &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/share/pixmaps
49 cook_copy_folders bin
50 cook_copy_folders aqualung
52 # Remove documentation
53 rm -rf $fs/usr/share/doc
55 cd $fs/usr/share/pixmaps
56 ln -s ../aqualung/general.png aqualung.png
57 }