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

Up:cryptsetup; add cryptsetup-dev; update WGET_URL
author Rohit Joshi <jozee@slitaz.org>
date Thu Mar 04 10:52:50 2010 +0000 (2010-03-04)
parents d9a844001ba2
children 81f3a6713ffc
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 esound libsndfile"
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 --enable-gtk2 \
27 $CONFIGURE_ARGS &&
28 make &&
29 # Chmod install-sh to avoid install error.
30 chmod 755 install-sh &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib
43 # Remove devel files and scopes.
44 rm $fs/usr/lib/alsaplayer/*/*.*a
45 rm -rf $fs/usr/lib/alsaplayer/scopes2
46 }