wok view alsaplayer/receipt @ rev 3563

tag some a* receipts
author Rohit Joshi <jozee@slitaz.org>
date Wed Jun 24 18:47:14 2009 +0000 (2009-06-24)
parents 41792b9ee28e
children 638946a9f112
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"
14 TAGS="music audio player mp3 ogg"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-nls \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 # Chmod install-sh to avoid install error.
28 chmod 755 install-sh &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib
41 # Remove devel files and scopes.
42 rm $fs/usr/lib/alsaplayer/*/*.*a
43 rm -rf $fs/usr/lib/alsaplayer/scopes2
44 }