wok-next diff granite/receipt @ rev 20523
libnsgif: add missing stuff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 15:16:45 2018 +0200 (2018-03-23) |
parents | e70c0b9c5adf |
children | bbddbb716008 |
line diff
1.1 --- a/granite/receipt Fri Jun 16 15:39:43 2017 +0300 1.2 +++ b/granite/receipt Fri Mar 23 15:16:45 2018 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="granite" 1.8 VERSION="0.2.1" 1.9 @@ -11,9 +11,9 @@ 1.10 TARBALL="$PACKAGE-$BRANCH.tar.bz2" 1.11 WGET_URL="bzr|lp:granite" 1.12 1.13 -DEPENDS="gtk+3 libgee" 1.14 BUILD_DEPENDS="bazaar cmake vala gtk+3-dev glib-dev libgee-dev \ 1.15 gobject-introspection-dev" 1.16 +SPLIT="granite granite-demo granite-dev" 1.17 1.18 # Rules to configure and make the package. 1.19 compile_rules() 1.20 @@ -32,20 +32,43 @@ 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 - mkdir -p \ 1.25 - $fs/usr/lib \ 1.26 - $fs/usr/share/locale 1.27 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.28 - # icons converted from svg 1.29 - for size in 16 22 24 32 48; do 1.30 - ifolder=$fs/usr/share/icons/hicolor/${size}x${size}/actions 1.31 - mkdir -p $ifolder 1.32 - cp $stuff/${size}.png $ifolder/application-menu.png 1.33 - done 1.34 - # localization 1.35 - . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.36 - for lang in $LOCALE_PACK; do 1.37 - langf=$install/usr/share/locale/$lang 1.38 - [ -d $langf ] && cp -a $langf $fs/usr/share/locale 1.39 - done 1.40 + case $PACKAGE in 1.41 + granite) 1.42 + DEPENDS="gtk+3 libgee" 1.43 + mkdir -p \ 1.44 + $fs/usr/lib \ 1.45 + $fs/usr/share/locale 1.46 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.47 + # icons converted from svg 1.48 + for size in 16 22 24 32 48; do 1.49 + ifolder=$fs/usr/share/icons/hicolor/${size}x${size}/actions 1.50 + mkdir -p $ifolder 1.51 + cp $stuff/${size}.png $ifolder/application-menu.png 1.52 + done 1.53 + # localization 1.54 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.55 + for lang in $LOCALE_PACK; do 1.56 + langf=$install/usr/share/locale/$lang 1.57 + [ -d $langf ] && cp -a $langf $fs/usr/share/locale 1.58 + done 1.59 + ;; 1.60 + granite-dev) 1.61 + CAT="development|Development files for granite" 1.62 + DEPENDS="granite" 1.63 + mkdir -p \ 1.64 + $fs/usr/lib \ 1.65 + $fs/usr/share 1.66 + cp -a $install/usr/include $fs/usr 1.67 + cp -a $install/usr/lib/girepository* $fs/usr/lib 1.68 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.69 + cp -a $install/usr/share/gir* $fs/usr/share 1.70 + cp -a $install/usr/share/vala $fs/usr/share 1.71 + ;; 1.72 + granite-demo) 1.73 + CAT="development|Demo for granite" 1.74 + DEPENDS="granite" 1.75 + mkdir -p $fs/usr 1.76 + cp -a $install/usr/bin $fs/usr 1.77 + ;; 1.78 + esac 1.79 }