wok annotate swfdec/receipt @ rev 13469
sunxi-tools: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 08 18:28:28 2012 +0200 (2012-10-08) |
parents | |
children | 76b72f1ad63c |
rev | line source |
---|---|
pascal@11215 | 1 # SliTaz package receipt. |
pascal@11215 | 2 |
pascal@11215 | 3 PACKAGE="swfdec" |
pascal@11215 | 4 VERSION="0.9.2" |
pascal@11215 | 5 CATEGORY="multimedia" |
pascal@11215 | 6 SHORT_DESC="Macromedia Flash decoding library" |
pascal@11215 | 7 MAINTAINER="devl547@gmail.com" |
pascal@11215 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11215 | 9 WEB_SITE="http://swfdec.freedesktop.org/" |
pascal@11215 | 10 WGET_URL="http://swfdec.freedesktop.org/download/swfdec/0.9/$TARBALL" |
pascal@11215 | 11 BUILD_DEPENDS="glib-dev liboil-dev pango-dev gtk+-dev libsoup-dev \ |
pascal@11215 | 12 cairo-dev alsa-lib-dev gstreamer-dev gst-plugins-base-dev" |
pascal@11215 | 13 DEPENDS="glib liboil pango gtk+ libsoup cairo alsa-lib gstreamer gst-plugins-base" |
pascal@11215 | 14 |
pascal@11215 | 15 # Rules to configure and make the package. |
pascal@11215 | 16 compile_rules() |
pascal@11215 | 17 { |
pascal@11215 | 18 cd $src |
pascal@11215 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@11215 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS \ |
pascal@11215 | 21 --enable-gtk --with-audio="alsa" && |
pascal@11215 | 22 make && |
pascal@11215 | 23 make DESTDIR=$PWD/_pkg install |
pascal@11215 | 24 } |
pascal@11215 | 25 |
pascal@11215 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11215 | 27 genpkg_rules() |
pascal@11215 | 28 { |
pascal@11215 | 29 mkdir -p $fs/usr/lib |
pascal@11215 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@11215 | 31 } |