wok-6.x diff swfdec/receipt @ rev 14572

Add anacron
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 24 18:19:42 2013 +0200 (2013-05-24)
parents
children 76b72f1ad63c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/swfdec/receipt	Fri May 24 18:19:42 2013 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="swfdec"
     1.7 +VERSION="0.9.2"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Macromedia Flash decoding library"
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://swfdec.freedesktop.org/"
    1.13 +WGET_URL="http://swfdec.freedesktop.org/download/swfdec/0.9/$TARBALL"
    1.14 +BUILD_DEPENDS="glib-dev liboil-dev pango-dev gtk+-dev libsoup-dev \
    1.15 +cairo-dev alsa-lib-dev gstreamer-dev gst-plugins-base-dev"
    1.16 +DEPENDS="glib liboil pango gtk+ libsoup cairo alsa-lib gstreamer gst-plugins-base"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.23 +	--mandir=/usr/share/man $CONFIGURE_ARGS \
    1.24 +	--enable-gtk --with-audio="alsa" &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/lib
    1.33 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.34 +}