wok-6.x view aqualung/receipt @ rev 25565
Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue May 09 17:24:00 2023 +0000 (18 months ago) |
parents | 964bcabe7e8c |
children |
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 }