wok view alsaplayer/receipt @ rev 23254

updated nzbget (13.0 -> 21.0)
author Hans-G?nter Theisgen
date Wed Mar 25 16:49:46 2020 +0100 (2020-03-25)
parents f0a0b5091b4a
children 68cf96abc146
line source
1 # SliTaz package receipt.
3 PACKAGE="alsaplayer"
4 VERSION="0.99.81"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa GTK+ PCM audio player."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://alsaplayer.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="${WEB_SITE}$TARBALL"
12 TAGS="music audio player mp3 ogg flac"
13 HOST_ARCH="i486 arm"
15 SUGGESTED="alsaplayer-scopes libid3tag flac"
16 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
17 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev"
19 # Handle cross compilation.
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 i="$src/interface/gtk2/pixmaps"
28 cp -f $i/note.xpm $i/logo.xpm
29 sed -i 's/note/logo/' $i/logo.xpm
31 ./configure \
32 --enable-gtk2 \
33 --enable-flac \
34 --disable-jack \
35 --disable-esd \
36 $CONFIGURE_ARGS &&
37 make &&
38 # Chmod install-sh to avoid install error.
39 chmod 755 install-sh &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 cp -a $install/usr/lib/alsaplayer $fs/usr/lib
52 # Remove devel files and scopes.
53 rm $fs/usr/lib/alsaplayer/*/*.*a
54 rm -rf $fs/usr/lib/alsaplayer/scopes2
55 }