wok annotate audacious/receipt @ rev 5364
Up: audacious, audacious-dev, audacious-plugins (2.3) - Added dbus-glib-dev to audacious build depends. I also had to copy audacious2 binary directly to build the package.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 29 09:41:09 2010 +0000 (2010-04-29) |
parents | a8ca1e0896fe |
children | 33b6564294f6 |
rev | line source |
---|---|
mimas@2030 | 1 # SliTaz package receipt. |
mimas@2030 | 2 |
mimas@2030 | 3 PACKAGE="audacious" |
slaxemulator@5364 | 4 VERSION="2.3" |
mimas@2030 | 5 CATEGORY="multimedia" |
mimas@2030 | 6 SHORT_DESC="Music player like xmms" |
mimas@2030 | 7 MAINTAINER="mimas@slitaz.org" |
slaxemulator@5364 | 8 DEPENDS="gtk+ libmowgli libmcs dbus-glib xorg-libXdamage libxml2 libsamplerate audacious-plugins" |
slaxemulator@5364 | 9 BUILD_DEPENDS="gtk+-dev libmowgli-dev libmowgli libmcs libmcs-dev dbus-dev dbus-glib-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" |
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@5364 | 27 mkdir -p $PWD/_pkg/usr/bin |
slaxemulator@5364 | 28 cp -a $src/src/audacious/audacious2 $PWD/_pkg/usr/bin |
mimas@2030 | 29 make DESTDIR=$PWD/_pkg install |
mimas@2030 | 30 } |
mimas@2030 | 31 |
mimas@2030 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2030 | 33 genpkg_rules() |
mimas@2030 | 34 { |
slaxemulator@5364 | 35 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin |
mimas@2030 | 36 cp -a $_pkg/usr/bin $fs/usr |
mimas@2030 | 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/ |
jozee@4512 | 38 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@3485 | 39 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
jozee@4512 | 40 tar -xzf stuff/Skins.tar.gz -C $fs/usr/share/$PACKAGE |
mimas@2030 | 41 } |
mimas@2030 | 42 |