wok-4.x annotate deadbeef/receipt @ rev 6401
gcc+gcj: add objective-C support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 25 10:58:49 2010 +0200 (2010-09-25) |
parents | ebfc5d58e405 |
children | 73a77e03a00d |
rev | line source |
---|---|
pankso@5639 | 1 # SliTaz package receipt. |
pankso@5639 | 2 |
pankso@5639 | 3 PACKAGE="deadbeef" |
pankso@5639 | 4 VERSION="0.4.0" |
pankso@5639 | 5 CATEGORY="multimedia" |
pankso@5639 | 6 SHORT_DESC="Simple to use GTK+ audio player with systray support." |
pankso@5639 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@5639 | 8 DEPENDS="gtk+ alsa-lib libogg libvorbis libsamplerate libmad" |
pankso@5639 | 9 BUILD_DEPENDS="$DEPENDS gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev \ |
pankso@5641 | 10 libmad-dev libsndfile libsndfile-dev libsamplerate-dev flac-dev libcurl \ |
pankso@5641 | 11 curl-dev ffmpeg-dev libcdio-dev" |
pankso@5639 | 12 SUGGESTED="deadbeef-plugins" |
pankso@5639 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@5639 | 14 WEB_SITE="http://deadbeef.sourceforge.net/" |
pankso@5639 | 15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@5639 | 16 TAGS="music audio player mp3 ogg" |
pankso@5639 | 17 |
pankso@5639 | 18 # Rules to configure and make the package. |
pankso@5639 | 19 compile_rules() |
pankso@5639 | 20 { |
pankso@5639 | 21 cd $src |
pankso@5639 | 22 ./configure \ |
pankso@5639 | 23 --prefix=/usr \ |
pankso@5639 | 24 --disable-pulse \ |
pankso@5639 | 25 $CONFIGURE_ARGS && |
pankso@5639 | 26 make && |
pankso@5639 | 27 make DESTDIR=$PWD/_pkg install |
pankso@5639 | 28 } |
pankso@5639 | 29 |
pankso@5639 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5639 | 31 genpkg_rules() |
pankso@5639 | 32 { |
pankso@5639 | 33 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps |
pankso@5639 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@5639 | 35 for l in alsa gtkui hotkeys vorbis mpgmad |
pankso@5639 | 36 do |
pankso@5639 | 37 cp -a $_pkg/usr/lib/$PACKAGE/$l.so* $fs/usr/lib/$PACKAGE |
pankso@5639 | 38 done |
pankso@5639 | 39 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@5639 | 40 cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/*.png \ |
pankso@5639 | 41 $fs/usr/share/pixmaps |
pankso@5639 | 42 } |