wok annotate deadbeef/receipt @ rev 15267

fbxkb, icedtea6-jdk: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 11:22:57 2013 +0000 (2013-09-25)
parents ca348008f789
children 860ce5da84ab
rev   line source
pankso@5639 1 # SliTaz package receipt.
pankso@5639 2
pankso@5639 3 PACKAGE="deadbeef"
admin@13686 4 VERSION="0.5.6"
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"
pascal@15021 8 LICENSE="GPL2 LGPL2.1"
pankso@5639 9 SUGGESTED="deadbeef-plugins"
pankso@5639 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@5639 11 WEB_SITE="http://deadbeef.sourceforge.net/"
pankso@5639 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
admin@13686 13 TAGS="music audio player mp3 ogg ape"
pascal@15021 14
pankso@9961 15 DEPENDS="gtk+ alsa-lib libogg libvorbis libsamplerate libmad"
pankso@9961 16 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev libmad-dev \
slaxemulator@11022 17 libsndfile-dev libsamplerate-dev flac-dev curl-dev libcdio-dev \
pascal@15127 18 libcddb-dev intltool libsndfile libcurl yasm libzip-dev"
pankso@9961 19
pankso@5639 20 # Rules to configure and make the package.
pankso@5639 21 compile_rules()
pankso@5639 22 {
pankso@5639 23 cd $src
pascal@15267 24 ./configure CFLAGS="-I/usr/lib/libzip/include" $CONFIGURE_ARGS &&
slaxemulator@10083 25 make && make install
pankso@5639 26 }
pankso@5639 27
pankso@5639 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5639 29 genpkg_rules()
pankso@5639 30 {
admin@13670 31 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps $fs/usr/share/doc
slaxemulator@11022 32 cp -a $install/usr/bin $fs/usr
slaxemulator@11022 33 for l in alsa ddb_gui_GTK2 hotkeys vorbis mpgmad
pankso@5639 34 do
slaxemulator@11022 35 cp -a $install/usr/lib/$PACKAGE/$l.so* $fs/usr/lib/$PACKAGE
pankso@5639 36 done
slaxemulator@11022 37 cp -a $install/usr/share/$PACKAGE $fs/usr/share
admin@13656 38 cp -a $install/usr/share/doc/$PACKAGE $fs/usr/share/doc
slaxemulator@11022 39 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
pankso@5639 40 $fs/usr/share/pixmaps
pankso@5639 41 }