wok-current annotate seed/receipt @ rev 24218
updated perl-http-cookies (6.08 -> 6.10)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:37:13 2021 +0100 (2021-12-31) |
parents | 8c3a860a2902 |
children |
rev | line source |
---|---|
pascal@11232 | 1 # SliTaz package receipt. |
pascal@11232 | 2 |
pascal@11232 | 3 PACKAGE="seed" |
Hans-G?nter@21899 | 4 VERSION="3.8.1" |
pascal@11232 | 5 CATEGORY="system-tools" |
pascal@11232 | 6 SHORT_DESC="Gnome JavaScript REPL/Interpreter." |
pascal@11232 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@21899 | 9 WEB_SITE="https://wiki.gnome.org/action/show/Projects/Seed" |
Hans-G?nter@21899 | 10 |
pascal@11232 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@11232 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@11232 | 13 |
Hans-G?nter@21899 | 14 DEPENDS="cairo dbus dbus-glib gmp gnome-js-common gobject-introspection \ |
Hans-G?nter@21899 | 15 libffi libwebkit libxslt mpfr readline util-linux-uuid" |
Hans-G?nter@21899 | 16 BUILD_DEPENDS="cairo-dev dbus-dev dbus-glib-dev gmp-dev gnome-js-common \ |
Hans-G?nter@21899 | 17 gobject-introspection-dev gtk+-dev intltool libffi-dev \ |
Hans-G?nter@21899 | 18 libwebkit-dev libxslt-dev mpfr-dev readline-dev util-linux-uuid-dev" |
pascal@11232 | 19 |
pascal@24111 | 20 current_version() |
pascal@24111 | 21 { |
pascal@24111 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 24 } |
pascal@24111 | 25 |
pascal@11232 | 26 # Rules to configure and make the package. |
pascal@11232 | 27 compile_rules() |
pascal@11232 | 28 { |
Hans-G?nter@21899 | 29 ./configure \ |
Hans-G?nter@21899 | 30 --with-webkit=1.0 \ |
pascal@11232 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@21899 | 32 make && |
Hans-G?nter@21899 | 33 make install |
pascal@11232 | 34 } |
pascal@11232 | 35 |
pascal@11232 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11232 | 37 genpkg_rules() |
pascal@11232 | 38 { |
Hans-G?nter@21899 | 39 mkdir -p $fs/usr/lib/seed |
Hans-G?nter@21899 | 40 mkdir -p $fs/usr/share |
Hans-G?nter@21899 | 41 |
Hans-G?nter@21899 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21899 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21899 | 44 cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed |
Hans-G?nter@21899 | 45 cp -a $install/usr/share/seed $fs/usr/share |
pascal@11232 | 46 } |