wok-6.x view alsaplayer/receipt @ rev 5119
alsaplayer: remove flac and esound dep
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 20 20:00:58 2010 +0100 (2010-03-20) |
parents | 395ec8205cff |
children | 03117e7655ff |
line source
1 # SliTaz package receipt.
3 PACKAGE="alsaplayer"
4 VERSION="0.99.80"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa GTK+ PCM player."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev"
10 SUGGESTED="alsaplayer-scopes libid3tag"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.alsaplayer.org/"
13 WGET_URL="http://www.alsaplayer.org/$TARBALL"
14 TAGS="music audio player mp3 ogg"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -p0 < ../stuff/gcc44.patch || exit 1
21 ./configure \
22 --enable-nls \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --enable-gtk2 \
27 --disable-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=$PWD/_pkg 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 $_pkg/usr/bin $fs/usr
43 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
44 cp -a $_pkg/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 }