wok-next annotate audacious/receipt @ rev 12753
dosbox: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 11 13:42:55 2012 +0200 (2012-05-11) |
parents | d2ef09868bdb |
children | 8159317606c5 |
rev | line source |
---|---|
mimas@2030 | 1 # SliTaz package receipt. |
mimas@2030 | 2 |
mimas@2030 | 3 PACKAGE="audacious" |
slaxemulator@12322 | 4 VERSION="3.2.2" |
mimas@2030 | 5 CATEGORY="multimedia" |
mimas@2030 | 6 SHORT_DESC="Music player like xmms" |
mimas@2030 | 7 MAINTAINER="mimas@slitaz.org" |
gokhlayeh@6851 | 8 DEPENDS="gtk+ libmowgli libmcs dbus-glib xorg-libXdamage libxml2 libsamplerate" |
slaxemulator@5364 | 9 BUILD_DEPENDS="gtk+-dev libmowgli-dev libmowgli libmcs libmcs-dev dbus-dev dbus-glib-dev libxml2-dev libsamplerate-dev" |
slaxemulator@11003 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mimas@2030 | 11 WEB_SITE="http://audacious-media-player.org/" |
slaxemulator@12322 | 12 WGET_URL="http://distfiles.audacious-media-player.org/$TARBALL" |
jozee@3564 | 13 TAGS="music audio player mp3 ogg" |
mimas@2030 | 14 |
mimas@2030 | 15 # Rules to configure and make the package. |
mimas@2030 | 16 compile_rules() |
mimas@2030 | 17 { |
mimas@2030 | 18 cd $src |
jozee@3485 | 19 sed -i "s/touch -t 0001010000 /touch /g" configure |
mimas@2030 | 20 ./configure \ |
mimas@2030 | 21 --prefix=/usr \ |
mimas@2030 | 22 --infodir=/usr/share/info \ |
mimas@2030 | 23 --mandir=/usr/share/man \ |
mimas@2030 | 24 --disable-sse2 \ |
slaxemulator@5364 | 25 $CONFIGURE_ARGS && |
slaxemulator@5364 | 26 make && |
slaxemulator@10105 | 27 make DESTDIR=$DESTDIR 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 { |
slaxemulator@5364 | 33 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin |
slaxemulator@11003 | 34 cp -a $install/usr/bin $fs/usr |
slaxemulator@11003 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
slaxemulator@11003 | 36 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
slaxemulator@11003 | 37 cp -a $install/usr/share/pixmaps $fs/usr/share |
pankso@9697 | 38 tar -xzf $stuff/Skins.tar.gz -C $fs/usr/share/$PACKAGE |
mimas@2030 | 39 } |
mimas@2030 | 40 |