wok-6.x annotate seed/receipt @ rev 17217

Up: file (5.20).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 14 11:50:51 2014 +0300 (2014-10-14)
parents c59abd89a5fa
children 86790a278e70
rev   line source
pascal@11232 1 # SliTaz package receipt.
pascal@11232 2
pascal@11232 3 PACKAGE="seed"
pascal@11232 4 VERSION="3.2.0"
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"
pascal@11232 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@11232 10 WEB_SITE="http://www.gnome.org/"
pascal@11232 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@11232 12
pascal@11232 13 DEPENDS="libffi libwebkit gobject-introspection dbus dbus-glib readline \
pankso@12481 14 mpfr gmp libxslt util-linux-uuid cairo gnome-js-common"
pascal@11232 15 BUILD_DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev dbus-dev \
pankso@12481 16 dbus-glib-dev readline-dev mpfr-dev gmp-dev libxslt-dev util-linux-uuid-dev \
pankso@12482 17 cairo-dev gnome-js-common intltool gtk+-dev"
pascal@11232 18
pascal@11232 19 # Rules to configure and make the package.
pascal@11232 20 compile_rules()
pascal@11232 21 {
pascal@11232 22 cd $src
pascal@11232 23 ./configure \
pascal@11232 24 --with-webkit=1.0 \
pascal@11232 25 $CONFIGURE_ARGS &&
pascal@11232 26 make && make install
pascal@11232 27 }
pascal@11232 28
pascal@11232 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11232 30 genpkg_rules()
pascal@11232 31 {
pascal@11232 32 mkdir -p $fs/usr/lib/seed $fs/usr/share
pascal@11232 33 cp -a $install/usr/bin $fs/usr
pascal@11232 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11232 35 cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed
pascal@11232 36 cp -a $install/usr/share/seed $fs/usr/share
pascal@11232 37 }