# HG changeset patch # User Hans-G?nter Theisgen # Date 1583310401 -3600 # Node ID 73ead125eaf195a18d8beb2a3f417955b7ec5901 # Parent 04907a90b0a7b099d52e9585e341d394e930bd20 Backed out changeset 04907a90b0a7 diff -r 04907a90b0a7 -r 73ead125eaf1 libgooglepinyin-dev/receipt --- a/libgooglepinyin-dev/receipt Wed Mar 04 09:22:00 2020 +0100 +++ b/libgooglepinyin-dev/receipt Wed Mar 04 09:26:41 2020 +0100 @@ -1,22 +1,21 @@ # SliTaz package receipt. PACKAGE="libgooglepinyin-dev" -VERSION="0.1.2" +VERSION="0.1.1" CATEGORY="development" -SHORT_DESC="A fork from google pinyin on android - development files." +SHORT_DESC="A fork from google pinyin on android" MAINTAINER="lufeng369@slitaz.org" LICENSE="Apache" WEB_SITE="https://github.com/promisejohn/libgooglepinyin" +WANTED="libgooglepinyin" DEPENDS="libgooglepinyin pkg-config" -WANTED="libgooglepinyin" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib/pkgconfig - - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig - cp -a $install/usr/share $fs/usr + mkdir -p $fs/usr/lib/pkgconfig/ + cp -a $install/usr/include/ $fs/usr/ + cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig/ + cp -a $install/usr/share/ $fs/usr/ } diff -r 04907a90b0a7 -r 73ead125eaf1 libgooglepinyin/receipt --- a/libgooglepinyin/receipt Wed Mar 04 09:22:00 2020 +0100 +++ b/libgooglepinyin/receipt Wed Mar 04 09:26:41 2020 +0100 @@ -1,40 +1,33 @@ # SliTaz package receipt. PACKAGE="libgooglepinyin" -VERSION="0.1.2" +VERSION="0.1.1" CATEGORY="development" -SHORT_DESC="A fork from google pinyin on android." +SHORT_DESC="A fork from google pinyin on android" MAINTAINER="lufeng369@slitaz.org" LICENSE="Apache" +TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://github.com/promisejohn/libgooglepinyin" - -TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" +WGET_URL="http://libgooglepinyin.googlecode.com/files/$TARBALL" DEPENDS="" -BUILD_DEPENDS="cairo-dev cmake gcc gtk+-dev intltool pango-dev" +BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc" # Rules to configure and make the package. compile_rules() { - mkdir -p $install/usr/share/libgooglepinyin - mkdir -p $src/build cd $src/build cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1 cd $src make -C build || return 1 make install/fast -C build DESTDIR=$DESTDIR - - cp -a $src/build/data/dict_pinyin.dat $install/usr/share/libgooglepinyin } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - mkdir -p $fs/usr/share - - cp -a $install/usr/lib/libgooglepinyin.so* $fs/usr/lib/ - cp -a $install/usr/share/googlepinyin $fs/usr/share + mkdir -p $fs/usr/lib/ $fs/usr/share/ + cp -a $install/usr/lib/libgooglepinyin.so* $fs/usr/lib/ + cp -a $install/usr/share/googlepinyin/ $fs/usr/share/ }