wok-current view deadbeef/receipt @ rev 15944

Make lzma cross compile and fix libxml2
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 23 00:35:49 2014 +0100 (2014-02-23)
parents 644c871a432b
children d31e573c32ca
line source
1 # SliTaz package receipt.
3 PACKAGE="deadbeef"
4 VERSION="0.5.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="Simple to use GTK+ audio player with systray support."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 SUGGESTED="deadbeef-plugins"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://deadbeef.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="music audio player mp3 ogg ape"
15 DEPENDS="gtk+ alsa-lib libogg libvorbis libsamplerate libmad"
16 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev libmad-dev \
17 libsndfile-dev libsamplerate-dev flac-dev curl-dev libcdio-dev \
18 libcddb-dev intltool libsndfile libcurl yasm libzip-dev util-linux-uuid-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure CFLAGS="-I/usr/lib/libzip/include" $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps $fs/usr/share/doc
32 cp -a $install/usr/bin $fs/usr
33 for l in alsa ddb_gui_GTK2 hotkeys vorbis mpgmad
34 do
35 cp -a $install/usr/lib/$PACKAGE/$l.so* $fs/usr/lib/$PACKAGE
36 done
37 cp -a $install/usr/share/$PACKAGE $fs/usr/share
38 cp -a $install/usr/share/doc/$PACKAGE $fs/usr/share/doc
39 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
40 $fs/usr/share/pixmaps
41 }