wok-next annotate poedit/receipt @ rev 21158
tor 0.3.5.7
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Feb 07 06:59:40 2019 +0000 (2019-02-07) |
parents | d5aab818505e |
children | c2763f7c58b6 |
rev | line source |
---|---|
pascal@20324 | 1 # SliTaz package receipt v2. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="poedit" |
al@18525 | 4 VERSION="1.8.6" |
al@19175 | 5 CATEGORY="localization" |
al@18525 | 6 SHORT_DESC="A cross-platform gettext catalogs editing tool" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15375 | 8 LICENSE="MIT" |
al@21033 | 9 WEB_SITE="https://poedit.net/" |
al@20534 | 10 |
pascal@15375 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18525 | 12 WGET_URL="https://github.com/vslavik/$PACKAGE/archive/v$VERSION-oss.tar.gz" |
pascal@15375 | 13 |
al@21020 | 14 BUILD_DEPENDS="automake gettext-dev asciidoc libxslt xmlto util-linux-getopt \ |
al@18526 | 15 docbook-xsl gcc49 wxWidgets-dev icu-dev gtkspell-dev \ |
al@18525 | 16 lucene++-dev db-dev libdb libdb-cxx expat-dev" |
al@21020 | 17 SPLIT="$PACKAGE-i18n $PACKAGE" |
pankso@41 | 18 |
al@20534 | 19 compile_rules() { |
al@21020 | 20 export CXX=/usr/bin/i486-slitaz-linux-g++-49 # FIXME: what about x86_64? |
al@18525 | 21 #export CXXFLAGS="$CFLAGS -std=gnu++11" |
al@18525 | 22 ./bootstrap && |
al@20534 | 23 ./configure $CONFIGURE_ARGS && |
pascal@1465 | 24 make && |
al@21020 | 25 make DESTDIR=$install install |
pankso@41 | 26 } |
pankso@41 | 27 |
al@20534 | 28 genpkg_rules() { |
pascal@20324 | 29 case $PACKAGE in |
al@20534 | 30 poedit-18n) |
al@20534 | 31 copy locale/ |
al@20534 | 32 CAT="localization|translations" |
al@20534 | 33 DEPENDS="poedit" |
al@20534 | 34 ;; |
al@20534 | 35 poedit) |
al@20534 | 36 copy @std @rm |
al@21020 | 37 DEPENDS="wxWidgets lucene++ gtkspell gcc49-lib-base gettext" |
al@20534 | 38 SUGGESTED="aspell" |
al@20534 | 39 ;; |
pascal@20324 | 40 esac |
pankso@41 | 41 } |