wok-6.x view alsaplayer/receipt @ rev 8931
Up: ncurses to 5.8.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 01 04:03:29 2011 +0000 (2011-03-01) |
parents | 81f3a6713ffc |
children | 9d8cc149f886 |
line source
1 # SliTaz package receipt.
3 PACKAGE="alsaplayer"
4 VERSION="0.99.81"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa GTK+ PCM player."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev"
10 SUGGESTED="alsaplayer-scopes libid3tag"
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 --enable-gtk2 \
26 --disable-flac \
27 --disable-jack \
28 --disable-esd \
29 $CONFIGURE_ARGS &&
30 make &&
31 # Chmod install-sh to avoid install error.
32 chmod 755 install-sh &&
33 make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
43 cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib
45 # Remove devel files and scopes.
46 rm $fs/usr/lib/alsaplayer/*/*.*a
47 rm -rf $fs/usr/lib/alsaplayer/scopes2
48 }