wok-next diff libidl/receipt @ rev 20050
Up scite (4.0.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 23 13:19:31 2017 +0200 (2017-10-23) |
parents | f5bfda4cdfe9 |
children | d43bf7aae921 |
line diff
1.1 --- a/libidl/receipt Mon Jun 19 04:02:32 2017 +0300 1.2 +++ b/libidl/receipt Mon Oct 23 13:19:31 2017 +0200 1.3 @@ -13,6 +13,7 @@ 1.4 WGET_URL="$GNOME_MIRROR/libIDL/${VERSION%.*}/$TARBALL" 1.5 1.6 BUILD_DEPENDS="bison flex glib-dev pkg-config" 1.7 +SPLIT="libidl-dev" 1.8 1.9 # Rules to configure and make the package. 1.10 compile_rules() 1.11 @@ -27,7 +28,16 @@ 1.12 # Rules to gen a SliTaz package suitable for Tazpkg. 1.13 genpkg_rules() 1.14 { 1.15 - copy @std @dev 1.16 - PROVIDE="libIDL" 1.17 - DEPENDS="glib-dev pcre-dev" 1.18 + case $PACKAGE in 1.19 + libidl) 1.20 + copy @std 1.21 + PROVIDE="libIDL" 1.22 + DEPENDS="glib pcre" 1.23 + ;; 1.24 + libidl-dev) 1.25 + copy @dev 1.26 + PROVIDE="libIDL-dev" 1.27 + DEPENDS="glib-dev pcre-dev" 1.28 + ;; 1.29 + esac 1.30 }