wok-next annotate alsaplayer/receipt @ rev 1872
tls: Fix DEPENDS & BUILD_DEPENDS.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Dec 16 22:58:17 2008 +0100 (2008-12-16) |
parents | 73006ee102f1 |
children | 899926b34160 |
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" |
pascal@1524 | 9 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev flac-dev" |
pankso@579 | 10 SUGGESTED="alsaplayer-scopes" |
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" |
pankso@32 | 14 |
pankso@32 | 15 # Rules to configure and make the package. |
pankso@32 | 16 compile_rules() |
pankso@32 | 17 { |
pankso@32 | 18 cd $src |
pankso@32 | 19 ./configure \ |
pankso@32 | 20 --enable-nls \ |
pankso@32 | 21 --prefix=/usr \ |
pankso@32 | 22 --infodir=/usr/share/info \ |
pankso@32 | 23 --mandir=/usr/share/man \ |
pascal@1524 | 24 $CONFIGURE_ARGS && |
pascal@1524 | 25 make && |
pankso@32 | 26 # Chmod install-sh to avoid install error. |
pascal@1524 | 27 chmod 755 install-sh && |
pankso@32 | 28 make DESTDIR=$PWD/_pkg install |
pankso@32 | 29 } |
pankso@32 | 30 |
pankso@32 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 32 genpkg_rules() |
pankso@32 | 33 { |
pankso@574 | 34 mkdir -p $fs/usr/lib |
pankso@32 | 35 |
pankso@32 | 36 cp -a $_pkg/usr/bin $fs/usr |
pankso@32 | 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@32 | 38 cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib |
pankso@32 | 39 |
pankso@579 | 40 # Remove devel files and scopes. |
pankso@32 | 41 rm $fs/usr/lib/alsaplayer/*/*.*a |
pankso@579 | 42 rm -rf $fs/usr/lib/alsaplayer/scopes2 |
pankso@32 | 43 } |
pankso@32 | 44 |