wok view alsaplayer/receipt @ rev 3974

dmraid: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 27 12:05:30 2009 +0200 (2009-08-27)
parents 2bbc0ef3f1d2
children d9a844001ba2
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 flac-dev libogg-dev libvorbis-dev"
10 SUGGESTED="alsaplayer-scopes libid3tag flac"
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 $CONFIGURE_ARGS &&
27 make &&
28 # Chmod install-sh to avoid install error.
29 chmod 755 install-sh &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib
42 # Remove devel files and scopes.
43 rm $fs/usr/lib/alsaplayer/*/*.*a
44 rm -rf $fs/usr/lib/alsaplayer/scopes2
45 }