wok-current annotate audacious-plugins/receipt @ rev 2550
audacious-plugins: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 11:10:24 2009 +0000 (2009-03-26) |
parents | 7a436db659a4 |
children | 1f45b489d489 |
rev | line source |
---|---|
mimas@2030 | 1 # SliTaz package receipt. |
mimas@2030 | 2 |
mimas@2030 | 3 PACKAGE="audacious-plugins" |
mimas@2030 | 4 VERSION="1.5.1" |
mimas@2030 | 5 CATEGORY="multimedia" |
mimas@2030 | 6 SHORT_DESC="Plugins for audacious music player" |
pankso@2044 | 7 MAINTAINER="mimas@slitaz.org" |
pascal@2491 | 8 DEPENDS="audacious neon libogg libvorbis alsa-lib lame flac dbus-glib" |
pascal@2064 | 9 BUILD_DEPENDS="audacious-dev audacious neon flac-dev libogg-dev libvorbis-dev alsa-lib-dev lame-dev" |
mimas@2030 | 10 TARBALL="$PACKAGE-$VERSION.tbz2" |
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 |
mimas@2030 | 18 ./configure \ |
mimas@2030 | 19 --prefix=/usr \ |
mimas@2030 | 20 --infodir=/usr/share/info \ |
mimas@2030 | 21 --mandir=/usr/share/man \ |
mimas@2030 | 22 --disable-sse2 \ |
pascal@2491 | 23 $CONFIGURE_ARGS && |
pascal@2491 | 24 make && |
mimas@2030 | 25 make DESTDIR=$PWD/_pkg install |
mimas@2030 | 26 } |
mimas@2030 | 27 |
mimas@2030 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2030 | 29 genpkg_rules() |
mimas@2030 | 30 { |
mimas@2030 | 31 mkdir -p $fs/usr/share/locale |
mimas@2030 | 32 cp -a $_pkg/usr/lib $fs/usr |
pascal@2550 | 33 #cp -a $_pkg/usr/share/audacious $fs/usr/share |
mimas@2030 | 34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
mimas@2030 | 35 } |
mimas@2030 | 36 |