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

Improve fswebcam.conf
author Rohit Joshi <jozee@slitaz.org>
date Tue Dec 15 16:41:18 2009 +0000 (2009-12-15)
parents 638946a9f112
children 395ec8205cff
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 --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 }