wok-next diff opencc/receipt @ rev 20766
childsplay: up (3.3); tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 04:36:32 2018 +0300 (2018-06-06) |
parents | 66ea853c51e4 |
children | a3c581bf52b8 |
line diff
1.1 --- a/opencc/receipt Thu Nov 02 12:28:56 2017 +0100 1.2 +++ b/opencc/receipt Wed Jun 06 04:36:32 2018 +0300 1.3 @@ -11,7 +11,7 @@ 1.4 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/opencc/$TARBALL" 1.5 1.6 BUILD_DEPENDS="cmake gettext" 1.7 -SPLIT="opencc opencc-dev opencc-tools" 1.8 +SPLIT="opencc-tools opencc opencc-dev" 1.9 1.10 # Rules to configure and make the package. 1.11 compile_rules() 1.12 @@ -28,24 +28,16 @@ 1.13 genpkg_rules() 1.14 { 1.15 case $PACKAGE in 1.16 + opencc-tools) 1.17 + CAT="utilities|command line tools" 1.18 + DEPENDS="opencc" 1.19 + copy usr/bin/ # only binaries 1.20 + ;; 1.21 opencc) 1.22 - mkdir -p $fs/usr/lib/ $fs/usr/share/ 1.23 - cp -a $install/usr/lib/lib*.so.* $fs/usr/lib/ 1.24 - cp -a $install/usr/share/opencc/ $fs/usr/share/ 1.25 + copy @std @rm # all the rest 1.26 ;; 1.27 opencc-dev) 1.28 - CAT="development|Development files for OpenCC" 1.29 - DEPENDS="opencc pkg-config" 1.30 - mkdir -p $fs/usr/lib/pkgconfig/ 1.31 - cp -a $install/usr/include $fs/usr 1.32 - cp -a $install/usr/lib/*.so $fs/usr/lib/ 1.33 - cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig/ 1.34 - ;; 1.35 - opencc-tools) 1.36 - CAT="utilities|Command line tools for OpenCC" 1.37 - DEPENDS="opencc" 1.38 - mkdir -p $fs/usr 1.39 - cp -a $install/usr/bin $fs/usr 1.40 + copy @dev 1.41 ;; 1.42 esac 1.43 }