wok-6.x view swfdec/receipt @ rev 17869

Use VERSION variable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 09:34:19 2015 +0100 (2015-03-26)
parents 8b9958254ee8
children 6135577f4d08
line source
1 # SliTaz package receipt.
3 PACKAGE="swfdec"
4 VERSION="0.9.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Macromedia Flash decoding library"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://swfdec.freedesktop.org/"
11 WGET_URL="http://swfdec.freedesktop.org/download/swfdec/${VERSION%.*}/$TARBALL"
13 DEPENDS="glib liboil pango gtk+ libsoup cairo alsa-lib gstreamer gst-plugins-base"
14 BUILD_DEPENDS="glib-dev liboil-dev pango-dev gtk+-dev libsoup-dev \
15 cairo-dev alsa-lib-dev gstreamer-dev gst-plugins-base-dev sqlite-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS \
22 --enable-gtk --with-audio="alsa" &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }