wok annotate swfdec/receipt @ rev 18256
Up tazpkg(826): fix install .tazpkg files clicking on it
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 04 19:17:34 2015 +0300 (2015-08-04) |
parents | 8b9958254ee8 |
children | 6135577f4d08 |
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@14996 | 8 LICENSE="LGPL2.1" |
pascal@11215 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11215 | 10 WEB_SITE="http://swfdec.freedesktop.org/" |
pascal@17869 | 11 WGET_URL="http://swfdec.freedesktop.org/download/swfdec/${VERSION%.*}/$TARBALL" |
pascal@14996 | 12 |
pascal@17621 | 13 DEPENDS="glib liboil pango gtk+ libsoup cairo alsa-lib gstreamer gst-plugins-base" |
pascal@11215 | 14 BUILD_DEPENDS="glib-dev liboil-dev pango-dev gtk+-dev libsoup-dev \ |
pascal@17621 | 15 cairo-dev alsa-lib-dev gstreamer-dev gst-plugins-base-dev sqlite-dev" |
pascal@11215 | 16 |
pascal@11215 | 17 # Rules to configure and make the package. |
pascal@11215 | 18 compile_rules() |
pascal@11215 | 19 { |
pascal@11215 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@11215 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS \ |
pascal@11215 | 22 --enable-gtk --with-audio="alsa" && |
pascal@11215 | 23 make && |
pascal@14996 | 24 make DESTDIR=$DESTDIR install |
pascal@11215 | 25 } |
pascal@11215 | 26 |
pascal@11215 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11215 | 28 genpkg_rules() |
pascal@11215 | 29 { |
pascal@11215 | 30 mkdir -p $fs/usr/lib |
pascal@14996 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11215 | 32 } |