wok view alsaplayer/receipt @ rev 3071

Up: emelfm2 (0.6.0)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 13 22:53:51 2009 +0200 (2009-05-13)
parents e75b1d632d66
children 2bbc0ef3f1d2
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 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 }