wok rev 25014
updated opencc, openss-dev and opencc-tools (1.0.5 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 17 07:50:08 2022 +0100 (2022-05-17) |
parents | fa285280cc24 |
children | 265b93e48c1b |
files | opencc-dev/receipt opencc-tools/receipt opencc/description.txt opencc/receipt |
line diff
1.1 --- a/opencc-dev/receipt Tue May 17 07:38:28 2022 +0100 1.2 +++ b/opencc-dev/receipt Tue May 17 07:50:08 2022 +0100 1.3 @@ -1,12 +1,12 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="opencc-dev" 1.7 -VERSION="1.0.5" 1.8 +VERSION="1.1.3" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Development files for OpenCC." 1.11 MAINTAINER="lufeng369@slitaz.org" 1.12 LICENSE="Apache" 1.13 -WEB_SITE="https://github.com/BYVoid/OpenCC" 1.14 +WEB_SITE="https://byvoid.github.io/OpenCC/" 1.15 1.16 DEPENDS="opencc pkg-config" 1.17 WANTED="opencc" 1.18 @@ -14,9 +14,7 @@ 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 - mkdir -p $fs/usr/lib/pkgconfig/ 1.23 - 1.24 - cp -a $install/usr/include $fs/usr 1.25 - cp -a $install/usr/lib/*.so $fs/usr/lib 1.26 - cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig 1.27 + cook_copy_folders include 1.28 + cook_copy_folders pkgconfig 1.29 + cook_copy_files *.so 1.30 }
2.1 --- a/opencc-tools/receipt Tue May 17 07:38:28 2022 +0100 2.2 +++ b/opencc-tools/receipt Tue May 17 07:50:08 2022 +0100 2.3 @@ -1,12 +1,12 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="opencc-tools" 2.7 -VERSION="1.0.5" 2.8 +VERSION="1.1.3" 2.9 CATEGORY="utilities" 2.10 SHORT_DESC="Command line tools for OpenCC." 2.11 MAINTAINER="lufeng369@slitaz.org" 2.12 LICENSE="Apache" 2.13 -WEB_SITE="https://github.com/BYVoid/OpenCC" 2.14 +WEB_SITE="https://byvoid.github.io/OpenCC/" 2.15 2.16 DEPENDS="opencc" 2.17 WANTED="opencc" 2.18 @@ -14,6 +14,5 @@ 2.19 # Rules to gen a SliTaz package suitable for Tazpkg. 2.20 genpkg_rules() 2.21 { 2.22 - mkdir -p $fs/usr 2.23 - cp -a $install/usr/bin $fs/usr 2.24 + cook_copy_folders bin 2.25 }
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/opencc/description.txt Tue May 17 07:50:08 2022 +0100 3.3 @@ -0,0 +1,7 @@ 3.4 +Open Chinese Convert (OpenCC) is an opensource project for 3.5 +conversions between Traditional Chinese, Simplified Chinese 3.6 +and Japanese Kanji (Shinjitai). 3.7 +It supports character-level and phrase-level conversion, 3.8 +character variant conversion and regional idioms among 3.9 +Mainland China, Taiwan and Hong Kong. 3.10 +This is not a translation tool between Mandarin and Cantonese, etc.
4.1 --- a/opencc/receipt Tue May 17 07:38:28 2022 +0100 4.2 +++ b/opencc/receipt Tue May 17 07:50:08 2022 +0100 4.3 @@ -1,7 +1,7 @@ 4.4 # SliTaz package receipt. 4.5 4.6 PACKAGE="opencc" 4.7 -VERSION="1.0.5" 4.8 +VERSION="1.1.3" 4.9 CATEGORY="misc" 4.10 SHORT_DESC="Libraries for Simplified-Traditional Chinese Conversion." 4.11 MAINTAINER="lufeng369@slitaz.org" 4.12 @@ -9,10 +9,10 @@ 4.13 WEB_SITE="https://github.com/BYVoid/OpenCC" 4.14 4.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 4.16 -WGET_URL="$WEB_SITE/archive/ver.$VERSION.tar.gz" 4.17 +WGET_URL="https://github.com/BYVoid/OpenCC/archive/ver.$VERSION.tar.gz" 4.18 4.19 -DEPENDS="" 4.20 -BUILD_DEPENDS="cmake gettext" 4.21 +DEPENDS="gcc83-lib-base" 4.22 +BUILD_DEPENDS="cmake gcc83 gettext" 4.23 4.24 current_version() 4.25 { 4.26 @@ -23,15 +23,17 @@ 4.27 # Rules to configure and make the package. 4.28 compile_rules() 4.29 { 4.30 - mkdir build 4.31 - cd build 4.32 - cmake $src \ 4.33 - -DCMAKE_INSTALL_PREFIX=/usr \ 4.34 - -DCMAKE_BUILD_TYPE=Release \ 4.35 - -DENABLE_GETTEXT:BOOL=ON || return 1 4.36 - cd $src 4.37 - make -C build || return 1 4.38 - make install -C build DESTDIR=$DESTDIR 4.39 + export CC=gcc-83 4.40 + export CXX=g++-83 4.41 + 4.42 + mkdir _build && 4.43 + cd _build && 4.44 + cmake .. \ 4.45 + -D CMAKE_INSTALL_PREFIX=/usr \ 4.46 + -D CMAKE_BUILD_TYPE=Release \ 4.47 + -D ENABLE_GETTEXT:BOOL=ON && 4.48 + make && 4.49 + make install DESTDIR=$DESTDIR 4.50 } 4.51 4.52 # Rules to gen a SliTaz package suitable for Tazpkg. 4.53 @@ -40,6 +42,6 @@ 4.54 mkdir -p $fs/usr/lib 4.55 mkdir -p $fs/usr/share 4.56 4.57 - cp -a $install/usr/lib/lib*.so.* $fs/usr/lib 4.58 - cp -a $install/usr/share/opencc $fs/usr/share 4.59 + cp -a $install/usr/lib/lib*.so* $fs/usr/lib 4.60 + cp -a $install/usr/share/opencc $fs/usr/share 4.61 }