wok-next view seed/receipt @ rev 20380

qtwebkit: up deps, cflags
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Nov 27 13:21:54 2017 +0100 (2017-11-27)
parents 731f74708293
children 524536e9b2d4
line source
1 # SliTaz package receipt v2.
3 PACKAGE="seed"
4 VERSION="3.2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Gnome JavaScript REPL/Interpreter."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 BUILD_DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev dbus-dev \
14 dbus-glib-dev readline-dev mpfr-dev gmp-dev libxslt-dev util-linux-uuid-dev \
15 cairo-dev gnome-js-common intltool gtk+-dev xorg-libXt-dev bash"
16 SPLIT="seed-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --with-webkit=1.0 \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 seed)
32 DEPENDS="libffi libwebkit gobject-introspection dbus dbus-glib \
33 readline mpfr gmp libxslt util-linux-uuid cairo \
34 gnome-js-common"
35 mkdir -p $fs/usr/lib/seed $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed
39 cp -a $install/usr/share/seed $fs/usr/share
40 ;;
41 seed-dev)
42 DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev \
43 dbus-dev dbus-glib-dev readline-dev mpfr-dev gmp-dev \
44 libxslt-dev util-linux-uuid-dev cairo-dev \
45 gnome-js-common pkg-config"
46 mkdir -p $fs/usr/lib/seed
47 cp -a $install/usr/include $fs/usr
48 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
49 cp -a $install/usr/lib/*.*a $fs/usr/lib
50 cp -a $install/usr/lib/seed/*.*a $fs/usr/lib/seed
51 ;;
52 esac
53 }