wok view alsaplayer/receipt @ rev 193

Desktop files for Tazpkg (for upcomming slitaz-menus)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 07 11:49:57 2008 +0100 (2008-02-07)
parents 4959e5789caa
children eb4e6a1af180
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"
12 JWM_MENU='Multimedia:<Program icon="alsaplayer.png" label="Alsaplayer">alsaplayer</Program>'
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --enable-nls \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS
24 make
25 # Chmod install-sh to avoid install error.
26 chmod 755 install-sh
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share/locale $fs/usr/share/pixmaps
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib
39 # Remove devel file and strip all.
40 rm $fs/usr/lib/alsaplayer/*/*.*a
41 strip --strip-unneeded $fs/usr/lib/alsaplayer/*/*
42 strip --strip-unneeded $fs/usr/lib/*.so*
43 strip -s $fs/usr/bin/*
45 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
46 cp stuff/alsaplayer.png $fs/usr/share/pixmaps
47 }