wok-next annotate audacious/receipt @ rev 3485
Up: audacious, fix DEPENDS, BUILD_DEPENDS, compile options
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Jun 17 16:24:10 2009 +0000 (2009-06-17) |
parents | e75b1d632d66 |
children | c616ce6b7873 |
rev | line source |
---|---|
mimas@2030 | 1 # SliTaz package receipt. |
mimas@2030 | 2 |
mimas@2030 | 3 PACKAGE="audacious" |
jozee@3485 | 4 VERSION="2.0.1" |
mimas@2030 | 5 CATEGORY="multimedia" |
mimas@2030 | 6 SHORT_DESC="Music player like xmms" |
mimas@2030 | 7 MAINTAINER="mimas@slitaz.org" |
jozee@3485 | 8 DEPENDS="gtk+ libmowgli libmcs dbus xorg-libXdamage libxml2 libsamplerate" |
jozee@3485 | 9 BUILD_DEPENDS="gtk+-dev libmowgli-dev libmowgli libmcs libmcs-dev dbus-dev libxml2-dev libsamplerate-dev" |
jozee@3485 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
mimas@2030 | 11 WEB_SITE="http://audacious-media-player.org/" |
mimas@2030 | 12 WGET_URL="http://distfiles.atheme.org/$TARBALL" |
mimas@2030 | 13 |
mimas@2030 | 14 # Rules to configure and make the package. |
mimas@2030 | 15 compile_rules() |
mimas@2030 | 16 { |
mimas@2030 | 17 cd $src |
jozee@3485 | 18 sed -i "s/touch -t 0001010000 /touch /g" configure |
mimas@2030 | 19 ./configure \ |
mimas@2030 | 20 --prefix=/usr \ |
mimas@2030 | 21 --infodir=/usr/share/info \ |
mimas@2030 | 22 --mandir=/usr/share/man \ |
mimas@2030 | 23 --disable-sse2 \ |
jozee@3485 | 24 --enable-samplerate \ |
mimas@2030 | 25 $CONFIGURE_ARGS |
mimas@2030 | 26 make |
mimas@2030 | 27 make DESTDIR=$PWD/_pkg install |
mimas@2030 | 28 } |
mimas@2030 | 29 |
mimas@2030 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2030 | 31 genpkg_rules() |
mimas@2030 | 32 { |
pankso@2044 | 33 mkdir -p $fs/usr/share $fs/usr/lib |
mimas@2030 | 34 cp -a $_pkg/usr/bin $fs/usr |
mimas@2030 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/ |
mimas@2030 | 36 cp -a $_pkg/usr/share/audacious $fs/usr/share |
jozee@3485 | 37 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
mimas@2030 | 38 } |
mimas@2030 | 39 |