wok-current annotate alsaplayer/receipt @ rev 15753
Up: tazpanel (1.7) Bunch of new stuff and fixes. Well done guys :-)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 03 19:00:33 2014 +0100 (2014-01-03) |
parents | 9d8cc149f886 |
children | 128aae84d74c |
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" |
pascal@14999 | 8 LICENSE="GPL3" |
pascal@13515 | 9 SUGGESTED="alsaplayer-scopes libid3tag flac" |
pankso@32 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@32 | 11 WEB_SITE="http://www.alsaplayer.org/" |
pankso@32 | 12 WGET_URL="http://www.alsaplayer.org/$TARBALL" |
pascal@13515 | 13 TAGS="music audio player mp3 ogg flac" |
pascal@13515 | 14 |
pascal@13515 | 15 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage" |
pascal@13515 | 16 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev flac-dev" |
pankso@32 | 17 |
pankso@32 | 18 # Rules to configure and make the package. |
pankso@32 | 19 compile_rules() |
pankso@32 | 20 { |
pankso@32 | 21 cd $src |
pankso@32 | 22 ./configure \ |
pankso@32 | 23 --enable-nls \ |
pankso@32 | 24 --prefix=/usr \ |
pankso@32 | 25 --infodir=/usr/share/info \ |
pankso@32 | 26 --mandir=/usr/share/man \ |
pankso@4159 | 27 --enable-gtk2 \ |
pascal@13515 | 28 --enable-flac \ |
pankso@5119 | 29 --disable-jack \ |
pankso@5119 | 30 --disable-esd \ |
pascal@1524 | 31 $CONFIGURE_ARGS && |
pascal@1524 | 32 make && |
pankso@32 | 33 # Chmod install-sh to avoid install error. |
pascal@1524 | 34 chmod 755 install-sh && |
pascal@13515 | 35 make DESTDIR=$DESTDIR install |
pankso@32 | 36 } |
pankso@32 | 37 |
pankso@32 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 39 genpkg_rules() |
pankso@32 | 40 { |
pankso@574 | 41 mkdir -p $fs/usr/lib |
pankso@3816 | 42 |
pascal@13515 | 43 cp -a $install/usr/bin $fs/usr |
pascal@13515 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13515 | 45 cp -a $install/usr/lib/alsaplayer $fs/usr/lib |
pankso@3816 | 46 |
pankso@579 | 47 # Remove devel files and scopes. |
pankso@32 | 48 rm $fs/usr/lib/alsaplayer/*/*.*a |
pankso@579 | 49 rm -rf $fs/usr/lib/alsaplayer/scopes2 |
pankso@32 | 50 } |
pankso@32 | 51 |