wok view alsaplayer/receipt @ rev 440

Qemu: update dependancies
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 15 14:51:15 2008 +0100 (2008-03-15)
parents 16e4ef87e466
children dde02d953b61
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.alsaplayer.org/"
11 WGET_URL="http://www.alsaplayer.org/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --enable-nls \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS
23 make
24 # Chmod install-sh to avoid install error.
25 chmod 755 install-sh
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share/locale $fs/usr/share/pixmaps
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib
38 # Remove devel file and strip all.
39 rm $fs/usr/lib/alsaplayer/*/*.*a
40 strip --strip-unneeded $fs/usr/lib/alsaplayer/*/*
41 strip --strip-unneeded $fs/usr/lib/*.so*
42 strip -s $fs/usr/bin/*
44 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
45 cp stuff/alsaplayer.png $fs/usr/share/pixmaps
46 }