wok-6.x view opencc/receipt @ rev 19048
Resolving the correct name for the chrommo theme.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Sun Apr 17 16:30:52 2016 -0300 (2016-04-17) |
parents | de49f29b101e |
children | eeba7ab1dffe |
line source
1 # SliTaz package receipt.
3 PACKAGE="opencc"
4 VERSION="0.2.0"
5 CATEGORY="misc"
6 SHORT_DESC="Libraries for Simplified-Traditional Chinese Conversion"
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="Apache"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://code.google.com/p/opencc/"
11 WGET_URL="http://opencc.googlecode.com/files/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="cmake gettext"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $src/build
20 cd $src/build
21 cmake $src -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_GETTEXT:BOOL=ON || return 1
22 cd $src
23 make -C build || return 1
24 make install -C build DESTDIR=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/ $fs/usr/share/
31 cp -a $install/usr/lib/lib*.so.* $fs/usr/lib/
32 cp -a $install/usr/share/opencc/ $fs/usr/share/
33 }