wok-next view poedit/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 757d032c55c7 |
children | 0c430fcaf2d9 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="poedit"
4 VERSION="1.8.6"
5 CATEGORY="localization"
6 SHORT_DESC="A cross-platform gettext catalogs editing tool"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://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="automake gettext-dev asciidoc libxslt xmlto util-linux-getopt \
15 docbook-xsl gcc49 wxWidgets-dev icu-dev gtkspell-dev \
16 lucene++-dev db-dev libdb libdb-cxx expat-dev"
17 SPLIT="$PACKAGE-i18n $PACKAGE"
19 compile_rules() {
20 export CXX=/usr/bin/i486-slitaz-linux-g++-49 # FIXME: what about x86_64?
21 #export CXXFLAGS="$CFLAGS -std=gnu++11"
22 ./bootstrap &&
23 ./configure $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$install install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 poedit-18n)
31 copy locale/
32 CAT="localization|translations"
33 DEPENDS="poedit"
34 ;;
35 poedit)
36 copy @std @rm
37 DEPENDS="wxWidgets lucene++ gtkspell gcc49-lib-base gettext"
38 SUGGESTED="aspell"
39 ;;
40 esac
41 }