wok-next diff libgtkimageview/receipt @ rev 20333
Up bmpanel2, urxvt, usbip
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 16:27:09 2017 +0200 (2017-11-15) |
parents | 8f447cf2eee5 |
children | d43bf7aae921 |
line diff
1.1 --- a/libgtkimageview/receipt Sat Nov 09 20:47:29 2013 +0000 1.2 +++ b/libgtkimageview/receipt Wed Nov 15 16:27:09 2017 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libgtkimageview" 1.8 VERSION="1.6.4" 1.9 @@ -11,13 +11,12 @@ 1.10 WEB_SITE="http://trac.bjourne.webfactional.com/" 1.11 WGET_URL="http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/$TARBALL?format=raw" 1.12 1.13 -DEPENDS="gtk+" 1.14 BUILD_DEPENDS="gtk+-dev expat-dev" 1.15 +SPLIT="libgtkimageview libgtkimageview-dev" 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 - cd $src 1.21 ./configure \ 1.22 --prefix=/usr \ 1.23 --infodir=/usr/share/info \ 1.24 @@ -29,9 +28,24 @@ 1.25 # Rules to gen a SliTaz package suitable for Tazpkg. 1.26 genpkg_rules() 1.27 { 1.28 - mkdir -p $fs/usr 1.29 - cp -a $install/usr/lib $fs/usr 1.30 - # Remove devel files 1.31 - cd $fs/usr/lib 1.32 - rm -r libgtkimageview.a libgtkimageview.la pkgconfig/ 1.33 + case $PACKAGE in 1.34 + libgtkimageview) 1.35 + DEPENDS="gtk+" 1.36 + mkdir -p $fs/usr 1.37 + cp -a $install/usr/lib $fs/usr 1.38 + # Remove devel files 1.39 + cd $fs/usr/lib 1.40 + rm -r libgtkimageview.a libgtkimageview.la pkgconfig/ 1.41 + ;; 1.42 + libgtkimageview-dev) 1.43 + CAT="development|Simple image viewer widget for GTK devel files." 1.44 + DEPENDS="pkg-config" 1.45 + mkdir -p $fs/usr 1.46 + cp -a $install/usr/include $fs/usr 1.47 + cp -a $install/usr/lib $fs/usr 1.48 + # Remove libraries files 1.49 + cd $fs/usr/lib 1.50 + rm -r *.so* 1.51 + ;; 1.52 + esac 1.53 }