wok rev 23039

updated libgooglepinyin and libgooglepinyin-dev (0.1.1 -> 0.1.2)
author Hans-G?nter Theisgen
date Wed Mar 04 09:31:52 2020 +0100 (2020-03-04)
parents 73ead125eaf1
children 7757b63c231b
files libgooglepinyin-dev/receipt libgooglepinyin/receipt
line diff
     1.1 --- a/libgooglepinyin-dev/receipt	Wed Mar 04 09:26:41 2020 +0100
     1.2 +++ b/libgooglepinyin-dev/receipt	Wed Mar 04 09:31:52 2020 +0100
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libgooglepinyin-dev"
     1.7 -VERSION="0.1.1"
     1.8 +VERSION="0.1.2"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="A fork from google pinyin on android"
    1.11 +SHORT_DESC="A fork from google pinyin on android - development files."
    1.12  MAINTAINER="lufeng369@slitaz.org"
    1.13  LICENSE="Apache"
    1.14  WEB_SITE="https://github.com/promisejohn/libgooglepinyin"
    1.15 -WANTED="libgooglepinyin"
    1.16  
    1.17  DEPENDS="libgooglepinyin pkg-config"
    1.18 +WANTED="libgooglepinyin"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	mkdir -p $fs/usr/lib/pkgconfig/
    1.24 -	cp -a $install/usr/include/ $fs/usr/
    1.25 -	cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig/
    1.26 -	cp -a $install/usr/share/ $fs/usr/
    1.27 +	mkdir -p $fs/usr/lib/pkgconfig
    1.28 +
    1.29 +	cp -a $install/usr/include		$fs/usr
    1.30 +	cp -a $install/usr/lib/pkgconfig/*.pc	$fs/usr/lib/pkgconfig
    1.31 +	cp -a $install/usr/share		$fs/usr
    1.32  }
     2.1 --- a/libgooglepinyin/receipt	Wed Mar 04 09:26:41 2020 +0100
     2.2 +++ b/libgooglepinyin/receipt	Wed Mar 04 09:31:52 2020 +0100
     2.3 @@ -1,33 +1,40 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libgooglepinyin"
     2.7 -VERSION="0.1.1"
     2.8 +VERSION="0.1.2"
     2.9  CATEGORY="development"
    2.10 -SHORT_DESC="A fork from google pinyin on android"
    2.11 +SHORT_DESC="A fork from google pinyin on android."
    2.12  MAINTAINER="lufeng369@slitaz.org"
    2.13  LICENSE="Apache"
    2.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.15  WEB_SITE="https://github.com/promisejohn/libgooglepinyin"
    2.16 -WGET_URL="http://libgooglepinyin.googlecode.com/files/$TARBALL"
    2.17 +
    2.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.19 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    2.20  
    2.21  DEPENDS=""
    2.22 -BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc"
    2.23 +BUILD_DEPENDS="cairo-dev cmake gtk+-dev intltool pango-dev"
    2.24  
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 +	mkdir	-p $install/usr/share/googlepinyin
    2.29 +
    2.30  	mkdir -p $src/build
    2.31  	cd $src/build
    2.32  	cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1
    2.33  	cd $src
    2.34  	make -C build || return 1
    2.35  	make install/fast -C build DESTDIR=$DESTDIR
    2.36 +
    2.37 +	cp -a $src/build/data/dict_pinyin.dat	$install/usr/share/googlepinyin
    2.38  }
    2.39  
    2.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.41  genpkg_rules()
    2.42  {
    2.43 -	mkdir -p $fs/usr/lib/ $fs/usr/share/
    2.44 -	cp -a $install/usr/lib/libgooglepinyin.so* $fs/usr/lib/
    2.45 -	cp -a $install/usr/share/googlepinyin/ $fs/usr/share/
    2.46 +	mkdir -p $fs/usr/lib
    2.47 +	mkdir -p $fs/usr/share
    2.48 +
    2.49 +	cp -a $install/usr/lib/libgooglepinyin.so*	$fs/usr/lib
    2.50 +	cp -a $install/usr/share/googlepinyin		$fs/usr/share
    2.51  }