wok rev 23260

updated opencc, opencc-dev and opencc-tools (0.2.0 -> 1.0.5)
author Hans-G?nter Theisgen
date Thu Mar 26 10:55:58 2020 +0100 (9 days ago)
parents 45041bf06ff9
children 2924eb0cff19
files opencc-dev/receipt opencc-tools/receipt opencc/receipt
line diff
     1.1 --- a/opencc-dev/receipt	Thu Mar 26 10:40:26 2020 +0100
     1.2 +++ b/opencc-dev/receipt	Thu Mar 26 10:55:58 2020 +0100
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="opencc-dev"
     1.7 -VERSION="0.2.0"
     1.8 +VERSION="1.0.5"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Development files for OpenCC"
    1.11 +SHORT_DESC="Development files for OpenCC."
    1.12  MAINTAINER="lufeng369@slitaz.org"
    1.13  LICENSE="Apache"
    1.14 -WEB_SITE="http://byvoid.github.io/OpenCC/"
    1.15 -WANTED="opencc"
    1.16 +WEB_SITE="https://github.com/BYVoid/OpenCC"
    1.17  
    1.18  DEPENDS="opencc pkg-config"
    1.19 +WANTED="opencc"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib/pkgconfig/
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/*.so $fs/usr/lib/
    1.27 -	cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig/
    1.28 +
    1.29 +	cp -a $install/usr/include		$fs/usr
    1.30 +	cp -a $install/usr/lib/*.so		$fs/usr/lib
    1.31 +	cp -a $install/usr/lib/pkgconfig/*.pc	$fs/usr/lib/pkgconfig
    1.32  }
     2.1 --- a/opencc-tools/receipt	Thu Mar 26 10:40:26 2020 +0100
     2.2 +++ b/opencc-tools/receipt	Thu Mar 26 10:55:58 2020 +0100
     2.3 @@ -1,19 +1,19 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="opencc-tools"
     2.7 -VERSION="0.2.0"
     2.8 +VERSION="1.0.5"
     2.9  CATEGORY="utilities"
    2.10 -SHORT_DESC="Command line tools for OpenCC"
    2.11 +SHORT_DESC="Command line tools for OpenCC."
    2.12  MAINTAINER="lufeng369@slitaz.org"
    2.13  LICENSE="Apache"
    2.14 -WEB_SITE="http://byvoid.github.io/OpenCC/"
    2.15 -WANTED="opencc"
    2.16 +WEB_SITE="https://github.com/BYVoid/OpenCC"
    2.17  
    2.18  DEPENDS="opencc"
    2.19 +WANTED="opencc"
    2.20  
    2.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.22  genpkg_rules()
    2.23  {
    2.24  	mkdir -p $fs/usr
    2.25 -	cp -a $install/usr/bin $fs/usr
    2.26 +	cp -a $install/usr/bin	$fs/usr
    2.27  }
     3.1 --- a/opencc/receipt	Thu Mar 26 10:40:26 2020 +0100
     3.2 +++ b/opencc/receipt	Thu Mar 26 10:55:58 2020 +0100
     3.3 @@ -1,14 +1,15 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="opencc"
     3.7 -VERSION="0.2.0"
     3.8 +VERSION="1.0.5"
     3.9  CATEGORY="misc"
    3.10 -SHORT_DESC="Libraries for Simplified-Traditional Chinese Conversion"
    3.11 +SHORT_DESC="Libraries for Simplified-Traditional Chinese Conversion."
    3.12  MAINTAINER="lufeng369@slitaz.org"
    3.13  LICENSE="Apache"
    3.14 +WEB_SITE="https://github.com/BYVoid/OpenCC"
    3.15 +
    3.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.17 -WEB_SITE="http://byvoid.github.io/OpenCC/"
    3.18 -WGET_URL="http://opencc.googlecode.com/files/$TARBALL"
    3.19 +WGET_URL="$WEB_SITE/archive/ver.$VERSION.tar.gz"
    3.20  
    3.21  DEPENDS=""
    3.22  BUILD_DEPENDS="cmake gettext"
    3.23 @@ -16,10 +17,13 @@
    3.24  # Rules to configure and make the package.
    3.25  compile_rules()
    3.26  {
    3.27 -	mkdir -p $src/build
    3.28 -	cd $src/build
    3.29 -	cmake $src -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_GETTEXT:BOOL=ON || return 1
    3.30 -	cd $src
    3.31 +	mkdir	build
    3.32 +	cd	build
    3.33 +	cmake	$src				\
    3.34 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    3.35 +		-DCMAKE_BUILD_TYPE=Release	\
    3.36 +		-DENABLE_GETTEXT:BOOL=ON || return 1
    3.37 +	cd	$src
    3.38  	make -C build || return 1
    3.39  	make install -C build DESTDIR=$DESTDIR
    3.40  }
    3.41 @@ -27,7 +31,9 @@
    3.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.43  genpkg_rules()
    3.44  {
    3.45 -	mkdir -p $fs/usr/lib/ $fs/usr/share/
    3.46 -	cp -a $install/usr/lib/lib*.so.* $fs/usr/lib/
    3.47 -	cp -a $install/usr/share/opencc/ $fs/usr/share/
    3.48 +	mkdir -p $fs/usr/lib
    3.49 +	mkdir -p $fs/usr/share
    3.50 +
    3.51 +	cp -a $install/usr/lib/lib*.so.*	$fs/usr/lib
    3.52 +	cp -a $install/usr/share/opencc		$fs/usr/share
    3.53  }