wok-current view alsaplayer/receipt @ rev 2203
get-OpenOffice3: no hardcoded version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 10 09:46:38 2009 +0000 (2009-02-10) |
parents | d86a706d7fcd |
children | 7a436db659a4 |
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 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 }