wok-next annotate deadbeef/receipt @ rev 12785
dia: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 15 11:32:14 2012 +0200 (2012-05-15) |
parents | 9ca8a145659d |
children | 03360f041b37 |
rev | line source |
---|---|
pankso@5639 | 1 # SliTaz package receipt. |
pankso@5639 | 2 |
pankso@5639 | 3 PACKAGE="deadbeef" |
slaxemulator@11022 | 4 VERSION="0.5.1" |
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 SUGGESTED="deadbeef-plugins" |
pankso@5639 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@5639 | 10 WEB_SITE="http://deadbeef.sourceforge.net/" |
pankso@5639 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@5639 | 12 TAGS="music audio player mp3 ogg" |
pankso@5639 | 13 |
pankso@9961 | 14 DEPENDS="gtk+ alsa-lib libogg libvorbis libsamplerate libmad" |
pankso@9961 | 15 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev libmad-dev \ |
slaxemulator@11022 | 16 libsndfile-dev libsamplerate-dev flac-dev curl-dev libcdio-dev \ |
pankso@9961 | 17 libcddb-dev intltool libsndfile libcurl" |
pankso@9961 | 18 |
pankso@5639 | 19 # Rules to configure and make the package. |
pankso@5639 | 20 compile_rules() |
pankso@5639 | 21 { |
pankso@5639 | 22 cd $src |
slaxemulator@10083 | 23 ./configure $CONFIGURE_ARGS && |
slaxemulator@10083 | 24 make && make install |
pankso@5639 | 25 } |
pankso@5639 | 26 |
pankso@5639 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5639 | 28 genpkg_rules() |
pankso@5639 | 29 { |
pankso@5639 | 30 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps |
slaxemulator@11022 | 31 cp -a $install/usr/bin $fs/usr |
slaxemulator@11022 | 32 for l in alsa ddb_gui_GTK2 hotkeys vorbis mpgmad |
pankso@5639 | 33 do |
slaxemulator@11022 | 34 cp -a $install/usr/lib/$PACKAGE/$l.so* $fs/usr/lib/$PACKAGE |
pankso@5639 | 35 done |
slaxemulator@11022 | 36 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
slaxemulator@11022 | 37 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \ |
pankso@5639 | 38 $fs/usr/share/pixmaps |
pankso@5639 | 39 } |