wok-next annotate 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 |
rev | line source |
---|---|
pascal@20324 | 1 # SliTaz package receipt v2. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="poedit" |
Hans-G?nter@21409 | 4 VERSION="2.3" |
al@19175 | 5 CATEGORY="localization" |
al@18525 | 6 SHORT_DESC="A cross-platform gettext catalogs editing tool" |
Hans-G?nter@21409 | 7 MAINTAINER="maintainer@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 |
Hans-G?nter@21409 | 14 BUILD_DEPENDS="asciidoc automake db-dev docbook-xsl expat-dev gcc83 |
Hans-G?nter@21409 | 15 gettext-dev gtkspell-dev icu-dev libdb libdb-cxx libxslt |
Hans-G?nter@21409 | 16 lucene++-dev util-linux-getopt wxWidgets-dev xmlto" |
al@21020 | 17 SPLIT="$PACKAGE-i18n $PACKAGE" |
pankso@41 | 18 |
Hans-G?nter@21409 | 19 compile_rules() |
Hans-G?nter@21409 | 20 { |
Hans-G?nter@21409 | 21 # export CXX=/usr/bin/i486-slitaz-linux-g++-49 # FIXME: what about x86_64? |
al@18525 | 22 #export CXXFLAGS="$CFLAGS -std=gnu++11" |
Hans-G?nter@21409 | 23 export CC=gcc-83 |
Hans-G?nter@21409 | 24 export CXX=g++-83 |
Hans-G?nter@21409 | 25 |
al@18525 | 26 ./bootstrap && |
al@20534 | 27 ./configure $CONFIGURE_ARGS && |
pascal@1465 | 28 make && |
al@21020 | 29 make DESTDIR=$install install |
pankso@41 | 30 } |
pankso@41 | 31 |
Hans-G?nter@21409 | 32 genpkg_rules() |
Hans-G?nter@21409 | 33 { |
pascal@20324 | 34 case $PACKAGE in |
al@20534 | 35 poedit-18n) |
al@20534 | 36 copy locale/ |
al@20534 | 37 CAT="localization|translations" |
al@20534 | 38 DEPENDS="poedit" |
al@20534 | 39 ;; |
al@20534 | 40 poedit) |
al@20534 | 41 copy @std @rm |
Hans-G?nter@21409 | 42 DEPENDS="gcc83-lib-base gettext gtkspell lucene++ wxWidgets" |
al@20534 | 43 SUGGESTED="aspell" |
al@20534 | 44 ;; |
pascal@20324 | 45 esac |
pankso@41 | 46 } |