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

Add dropbox (Online file storage tool) - Yes I know wok is freez...
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 22 01:21:14 2009 +0100 (2009-03-22)
parents 7a436db659a4
children 41792b9ee28e
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 flac libvorbis xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev flac-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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --enable-nls \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 # Chmod install-sh to avoid install error.
27 chmod 755 install-sh &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib
40 # Remove devel files and scopes.
41 rm $fs/usr/lib/alsaplayer/*/*.*a
42 rm -rf $fs/usr/lib/alsaplayer/scopes2
43 }