wok view alsaplayer/receipt @ rev 973
Up: mpg123 (1.4.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jun 30 12:17:48 2008 +0200 (2008-06-30) |
parents | dde02d953b61 |
children | d86a706d7fcd |
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"
9 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev"
10 SUGGESTED="alsaplayer-scopes"
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 }