wok-6.x view seed/receipt @ rev 13661

ccid: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 21 21:52:14 2012 +0100 (2012-11-21)
parents 73641efed1cc
children 380ffe05937a
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://www.gnome.org/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="libffi libwebkit gobject-introspection dbus dbus-glib readline \
13 mpfr gmp libxslt util-linux-uuid cairo gnome-js-common"
14 BUILD_DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev dbus-dev \
15 dbus-glib-dev readline-dev mpfr-dev gmp-dev libxslt-dev util-linux-uuid-dev \
16 cairo-dev gnome-js-common intltool gtk+-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --with-webkit=1.0 \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/seed $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed
35 cp -a $install/usr/share/seed $fs/usr/share
36 }