wok annotate seed/receipt @ rev 14940

Up: embryo-dev (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:15:45 2013 +0200 (2013-08-08)
parents 73641efed1cc
children 380ffe05937a
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@11232 8 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@11232 9 WEB_SITE="http://www.gnome.org/"
pascal@11232 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@11232 11
pascal@11232 12 DEPENDS="libffi libwebkit gobject-introspection dbus dbus-glib readline \
pankso@12481 13 mpfr gmp libxslt util-linux-uuid cairo gnome-js-common"
pascal@11232 14 BUILD_DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev dbus-dev \
pankso@12481 15 dbus-glib-dev readline-dev mpfr-dev gmp-dev libxslt-dev util-linux-uuid-dev \
pankso@12482 16 cairo-dev gnome-js-common intltool gtk+-dev"
pascal@11232 17
pascal@11232 18 # Rules to configure and make the package.
pascal@11232 19 compile_rules()
pascal@11232 20 {
pascal@11232 21 cd $src
pascal@11232 22 ./configure \
pascal@11232 23 --with-webkit=1.0 \
pascal@11232 24 $CONFIGURE_ARGS &&
pascal@11232 25 make && make install
pascal@11232 26 }
pascal@11232 27
pascal@11232 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11232 29 genpkg_rules()
pascal@11232 30 {
pascal@11232 31 mkdir -p $fs/usr/lib/seed $fs/usr/share
pascal@11232 32 cp -a $install/usr/bin $fs/usr
pascal@11232 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11232 34 cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed
pascal@11232 35 cp -a $install/usr/share/seed $fs/usr/share
pascal@11232 36 }