wok-next view poedit/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents c2763f7c58b6
children
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
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"
24 ./bootstrap &&
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$install install
28 }
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 poedit-18n)
34 copy locale/
35 CAT="localization|translations"
36 DEPENDS="poedit"
37 ;;
38 poedit)
39 copy @std @rm
40 DEPENDS="gettext gtkspell lucene++ wxWidgets"
41 SUGGESTED="aspell"
42 ;;
43 esac
44 }