wok-next view poedit/receipt @ rev 21409

updated poedit (1.8.6 -> 2.3)
author Hans-G?nter Theisgen
date Fri Apr 24 17:45:51 2020 +0100 (2020-04-24)
parents 0c430fcaf2d9
children dc4a1cf32af9
line source
1 # SliTaz package receipt v2.
3 PACKAGE="poedit"
4 VERSION="2.3"
5 CATEGORY="localization"
6 SHORT_DESC="A cross-platform gettext catalogs editing tool"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://poedit.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/vslavik/$PACKAGE/archive/v$VERSION-oss.tar.gz"
14 BUILD_DEPENDS="asciidoc automake db-dev docbook-xsl expat-dev gcc83
15 gettext-dev gtkspell-dev icu-dev libdb libdb-cxx libxslt
16 lucene++-dev util-linux-getopt wxWidgets-dev xmlto"
17 SPLIT="$PACKAGE-i18n $PACKAGE"
19 compile_rules()
20 {
21 # export CXX=/usr/bin/i486-slitaz-linux-g++-49 # FIXME: what about x86_64?
22 #export CXXFLAGS="$CFLAGS -std=gnu++11"
23 export CC=gcc-83
24 export CXX=g++-83
26 ./bootstrap &&
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$install install
30 }
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 poedit-18n)
36 copy locale/
37 CAT="localization|translations"
38 DEPENDS="poedit"
39 ;;
40 poedit)
41 copy @std @rm
42 DEPENDS="gcc83-lib-base gettext gtkspell lucene++ wxWidgets"
43 SUGGESTED="aspell"
44 ;;
45 esac
46 }