wok annotate alsaplayer/receipt @ rev 257
Add GPicView (replace GQview on LiveCD core)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 24 20:38:34 2008 +0100 (2008-02-24) |
parents | 4959e5789caa |
children | eb4e6a1af180 |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="alsaplayer" |
pankso@32 | 4 VERSION="0.99.80" |
pankso@177 | 5 CATEGORY="multimedia" |
pankso@32 | 6 SHORT_DESC="Alsa GTK+ PCM player." |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@32 | 8 DEPENDS="gtk+ alsa-lib libmad" |
pankso@32 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@32 | 10 WEB_SITE="http://www.alsaplayer.org/" |
pankso@32 | 11 WGET_URL="http://www.alsaplayer.org/$TARBALL" |
pascal@153 | 12 JWM_MENU='Multimedia:<Program icon="alsaplayer.png" label="Alsaplayer">alsaplayer</Program>' |
pankso@32 | 13 |
pankso@32 | 14 # Rules to configure and make the package. |
pankso@32 | 15 compile_rules() |
pankso@32 | 16 { |
pankso@32 | 17 cd $src |
pankso@32 | 18 ./configure \ |
pankso@32 | 19 --enable-nls \ |
pankso@32 | 20 --prefix=/usr \ |
pankso@32 | 21 --infodir=/usr/share/info \ |
pankso@32 | 22 --mandir=/usr/share/man \ |
pankso@32 | 23 $CONFIGURE_ARGS |
pankso@32 | 24 make |
pankso@32 | 25 # Chmod install-sh to avoid install error. |
pankso@32 | 26 chmod 755 install-sh |
pankso@32 | 27 make DESTDIR=$PWD/_pkg install |
pankso@32 | 28 } |
pankso@32 | 29 |
pankso@32 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 31 genpkg_rules() |
pankso@32 | 32 { |
pankso@32 | 33 mkdir -p $fs/usr/lib $fs/usr/share/locale $fs/usr/share/pixmaps |
pankso@32 | 34 |
pankso@32 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@32 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@32 | 37 cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib |
pankso@32 | 38 |
pankso@32 | 39 # Remove devel file and strip all. |
pankso@32 | 40 rm $fs/usr/lib/alsaplayer/*/*.*a |
pankso@32 | 41 strip --strip-unneeded $fs/usr/lib/alsaplayer/*/* |
pankso@32 | 42 strip --strip-unneeded $fs/usr/lib/*.so* |
pankso@32 | 43 strip -s $fs/usr/bin/* |
pankso@32 | 44 |
pankso@32 | 45 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@32 | 46 cp stuff/alsaplayer.png $fs/usr/share/pixmaps |
pankso@32 | 47 } |
pankso@32 | 48 |