wok annotate alsaplayer/receipt @ rev 11082
Up: claws-mail-notification to 0.28.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 01:56:04 2011 +0000 (2011-10-17) |
parents | 81f3a6713ffc |
children | 9d8cc149f886 |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="alsaplayer" |
slaxemulator@7189 | 4 VERSION="0.99.81" |
pankso@177 | 5 CATEGORY="multimedia" |
pankso@32 | 6 SHORT_DESC="Alsa GTK+ PCM player." |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@5119 | 8 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage" |
pankso@5119 | 9 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev" |
pankso@5119 | 10 SUGGESTED="alsaplayer-scopes libid3tag" |
pankso@32 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@32 | 12 WEB_SITE="http://www.alsaplayer.org/" |
pankso@32 | 13 WGET_URL="http://www.alsaplayer.org/$TARBALL" |
jozee@3563 | 14 TAGS="music audio player mp3 ogg" |
pankso@32 | 15 |
pankso@32 | 16 # Rules to configure and make the package. |
pankso@32 | 17 compile_rules() |
pankso@32 | 18 { |
pankso@32 | 19 cd $src |
pankso@32 | 20 ./configure \ |
pankso@32 | 21 --enable-nls \ |
pankso@32 | 22 --prefix=/usr \ |
pankso@32 | 23 --infodir=/usr/share/info \ |
pankso@32 | 24 --mandir=/usr/share/man \ |
pankso@4159 | 25 --enable-gtk2 \ |
pankso@5119 | 26 --disable-flac \ |
pankso@5119 | 27 --disable-jack \ |
pankso@5119 | 28 --disable-esd \ |
pascal@1524 | 29 $CONFIGURE_ARGS && |
pascal@1524 | 30 make && |
pankso@32 | 31 # Chmod install-sh to avoid install error. |
pascal@1524 | 32 chmod 755 install-sh && |
pankso@32 | 33 make DESTDIR=$PWD/_pkg install |
pankso@32 | 34 } |
pankso@32 | 35 |
pankso@32 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 37 genpkg_rules() |
pankso@32 | 38 { |
pankso@574 | 39 mkdir -p $fs/usr/lib |
pankso@3816 | 40 |
pankso@32 | 41 cp -a $_pkg/usr/bin $fs/usr |
pankso@32 | 42 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@32 | 43 cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib |
pankso@3816 | 44 |
pankso@579 | 45 # Remove devel files and scopes. |
pankso@32 | 46 rm $fs/usr/lib/alsaplayer/*/*.*a |
pankso@579 | 47 rm -rf $fs/usr/lib/alsaplayer/scopes2 |
pankso@32 | 48 } |
pankso@32 | 49 |