wok-6.x view alsaplayer/receipt @ rev 14365

Up dietlibc (0.33), static only
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 20 18:53:47 2013 +0200 (2013-04-20)
parents 03117e7655ff
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="alsaplayer"
4 VERSION="0.99.81"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa GTK+ PCM player."
7 MAINTAINER="pankso@slitaz.org"
8 SUGGESTED="alsaplayer-scopes libid3tag flac"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.alsaplayer.org/"
11 WGET_URL="http://www.alsaplayer.org/$TARBALL"
12 TAGS="music audio player mp3 ogg flac"
14 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
15 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev flac-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --enable-nls \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --enable-gtk2 \
27 --enable-flac \
28 --disable-jack \
29 --disable-esd \
30 $CONFIGURE_ARGS &&
31 make &&
32 # Chmod install-sh to avoid install error.
33 chmod 755 install-sh &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/alsaplayer $fs/usr/lib
46 # Remove devel files and scopes.
47 rm $fs/usr/lib/alsaplayer/*/*.*a
48 rm -rf $fs/usr/lib/alsaplayer/scopes2
49 }