wok view seed/receipt @ rev 25341

amule: update to new libupnp API
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 24 16:17:15 2022 +0000 (2022-07-24)
parents 8c3a860a2902
children
line source
1 # SliTaz package receipt.
3 PACKAGE="seed"
4 VERSION="3.8.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Gnome JavaScript REPL/Interpreter."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/action/show/Projects/Seed"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="cairo dbus dbus-glib gmp gnome-js-common gobject-introspection \
15 libffi libwebkit libxslt mpfr readline util-linux-uuid"
16 BUILD_DEPENDS="cairo-dev dbus-dev dbus-glib-dev gmp-dev gnome-js-common \
17 gobject-introspection-dev gtk+-dev intltool libffi-dev \
18 libwebkit-dev libxslt-dev mpfr-dev readline-dev util-linux-uuid-dev"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --with-webkit=1.0 \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/seed
40 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed
45 cp -a $install/usr/share/seed $fs/usr/share
46 }