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

updated ncdu (1.14.2 -> 1.16)
author Hans-G?nter Theisgen
date Sat Apr 23 16:59:14 2022 +0100 (2022-04-23)
parents 66530154b12f
children 1805f71c5d9f
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="https://github.com/mltframework/swfdec"
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://raw.githubusercontent.com/mltframework/swfdec/master/NEWS 2>/dev/null | \
21 sed '/[0-9]/!d;s|^ *||;s| .*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr --infodir=/usr/share/info \
28 --mandir=/usr/share/man $CONFIGURE_ARGS \
29 --enable-gtk --with-audio="alsa" &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }