wok-next diff seed/receipt @ rev 20337
orpheus: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 16 21:37:29 2017 +0100 (2017-11-16) |
parents | 380ffe05937a |
children | a097df5ca515 |
line diff
1.1 --- a/seed/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/seed/receipt Thu Nov 16 21:37:29 2017 +0100 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="seed" 1.8 VERSION="3.2.0" 1.9 @@ -10,16 +10,14 @@ 1.10 WEB_SITE="http://www.gnome.org/" 1.11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.12 1.13 -DEPENDS="libffi libwebkit gobject-introspection dbus dbus-glib readline \ 1.14 -mpfr gmp libxslt util-linux-uuid cairo gnome-js-common" 1.15 BUILD_DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev dbus-dev \ 1.16 dbus-glib-dev readline-dev mpfr-dev gmp-dev libxslt-dev util-linux-uuid-dev \ 1.17 cairo-dev gnome-js-common intltool gtk+-dev" 1.18 +SPLIT="seed-dev" 1.19 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 - cd $src 1.24 ./configure \ 1.25 --with-webkit=1.0 \ 1.26 $CONFIGURE_ARGS && 1.27 @@ -29,9 +27,27 @@ 1.28 # Rules to gen a SliTaz package suitable for Tazpkg. 1.29 genpkg_rules() 1.30 { 1.31 - mkdir -p $fs/usr/lib/seed $fs/usr/share 1.32 - cp -a $install/usr/bin $fs/usr 1.33 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.34 - cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed 1.35 - cp -a $install/usr/share/seed $fs/usr/share 1.36 + case $PACKAGE in 1.37 + seed) 1.38 + DEPENDS="libffi libwebkit gobject-introspection dbus dbus-glib \ 1.39 + readline mpfr gmp libxslt util-linux-uuid cairo \ 1.40 + gnome-js-common" 1.41 + mkdir -p $fs/usr/lib/seed $fs/usr/share 1.42 + cp -a $install/usr/bin $fs/usr 1.43 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 + cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed 1.45 + cp -a $install/usr/share/seed $fs/usr/share 1.46 + ;; 1.47 + seed-dev) 1.48 + DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev \ 1.49 + dbus-dev dbus-glib-dev readline-dev mpfr-dev gmp-dev \ 1.50 + libxslt-dev util-linux-uuid-dev cairo-dev \ 1.51 + gnome-js-common pkg-config" 1.52 + mkdir -p $fs/usr/lib/seed 1.53 + cp -a $install/usr/include $fs/usr 1.54 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.55 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.56 + cp -a $install/usr/lib/seed/*.*a $fs/usr/lib/seed 1.57 + ;; 1.58 + esac 1.59 }