wok-next annotate seed/receipt @ rev 20324

linux-libre-api-headers: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 12 00:47:34 2017 +0100 (2017-11-12)
parents 380ffe05937a
children a097df5ca515
rev   line source
pascal@20324 1 # SliTaz package receipt v2.
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 BUILD_DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev dbus-dev \
pankso@12481 14 dbus-glib-dev readline-dev mpfr-dev gmp-dev libxslt-dev util-linux-uuid-dev \
pankso@12482 15 cairo-dev gnome-js-common intltool gtk+-dev"
pascal@20324 16 SPLIT="seed-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 ./configure \
pascal@11232 22 --with-webkit=1.0 \
pascal@11232 23 $CONFIGURE_ARGS &&
pascal@11232 24 make && make install
pascal@11232 25 }
pascal@11232 26
pascal@11232 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11232 28 genpkg_rules()
pascal@11232 29 {
pascal@20324 30 case $PACKAGE in
pascal@20324 31 seed)
pascal@20324 32 DEPENDS="libffi libwebkit gobject-introspection dbus dbus-glib \
pascal@20324 33 readline mpfr gmp libxslt util-linux-uuid cairo \
pascal@20324 34 gnome-js-common"
pascal@20324 35 mkdir -p $fs/usr/lib/seed $fs/usr/share
pascal@20324 36 cp -a $install/usr/bin $fs/usr
pascal@20324 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@20324 38 cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed
pascal@20324 39 cp -a $install/usr/share/seed $fs/usr/share
pascal@20324 40 ;;
pascal@20324 41 seed-dev)
pascal@20324 42 DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev \
pascal@20324 43 dbus-dev dbus-glib-dev readline-dev mpfr-dev gmp-dev \
pascal@20324 44 libxslt-dev util-linux-uuid-dev cairo-dev \
pascal@20324 45 gnome-js-common pkg-config"
pascal@20324 46 mkdir -p $fs/usr/lib/seed
pascal@20324 47 cp -a $install/usr/include $fs/usr
pascal@20324 48 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pascal@20324 49 cp -a $install/usr/lib/*.*a $fs/usr/lib
pascal@20324 50 cp -a $install/usr/lib/seed/*.*a $fs/usr/lib/seed
pascal@20324 51 ;;
pascal@20324 52 esac
pascal@11232 53 }