wok annotate opencc/receipt @ rev 21037

updated httpie (0.8.0 -> 1.0.2)
author Hans-G?nter Theisgen
date Mon Mar 11 15:26:31 2019 +0100 (2019-03-11)
parents 8d64ce80ab95
children 03ab355816ec
rev   line source
hipeng@10958 1 # SliTaz package receipt.
hipeng@10958 2
hipeng@10958 3 PACKAGE="opencc"
hipeng@10958 4 VERSION="0.2.0"
slaxemulator@10962 5 CATEGORY="misc"
hipeng@10958 6 SHORT_DESC="Libraries for Simplified-Traditional Chinese Conversion"
pascal@16047 7 MAINTAINER="lufeng369@slitaz.org"
pascal@15600 8 LICENSE="Apache"
hipeng@10958 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20674 10 WEB_SITE="http://byvoid.github.io/OpenCC/"
slaxemulator@10963 11 WGET_URL="http://opencc.googlecode.com/files/$TARBALL"
hipeng@10958 12
pascal@15600 13 DEPENDS=""
pascal@15600 14 BUILD_DEPENDS="cmake gettext"
pascal@15600 15
hipeng@10958 16 # Rules to configure and make the package.
hipeng@10958 17 compile_rules()
hipeng@10958 18 {
slaxemulator@10962 19 mkdir -p $src/build
slaxemulator@10962 20 cd $src/build
slaxemulator@10962 21 cmake $src -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_GETTEXT:BOOL=ON || return 1
hipeng@10958 22 cd $src
hipeng@10958 23 make -C build || return 1
slaxemulator@10962 24 make install -C build DESTDIR=$DESTDIR
hipeng@10958 25 }
hipeng@10958 26
hipeng@10958 27 # Rules to gen a SliTaz package suitable for Tazpkg.
hipeng@10958 28 genpkg_rules()
hipeng@10958 29 {
hipeng@10958 30 mkdir -p $fs/usr/lib/ $fs/usr/share/
pascal@15600 31 cp -a $install/usr/lib/lib*.so.* $fs/usr/lib/
pascal@15600 32 cp -a $install/usr/share/opencc/ $fs/usr/share/
hipeng@10958 33 }