wok-next annotate poedit/receipt @ rev 21592

updated dkms (2.1.1.2 -> 2.8.2)
author Hans-G?nter Theisgen
date Wed Jun 24 07:35:54 2020 +0100 (2020-06-24)
parents c2763f7c58b6
children
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@21411 14 BUILD_DEPENDS="asciidoc automake db-dev docbook-xsl expat-dev
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
al@18525 24 ./bootstrap &&
al@20534 25 ./configure $CONFIGURE_ARGS &&
pascal@1465 26 make &&
al@21020 27 make DESTDIR=$install install
pankso@41 28 }
pankso@41 29
Hans-G?nter@21409 30 genpkg_rules()
Hans-G?nter@21409 31 {
pascal@20324 32 case $PACKAGE in
al@20534 33 poedit-18n)
al@20534 34 copy locale/
al@20534 35 CAT="localization|translations"
al@20534 36 DEPENDS="poedit"
al@20534 37 ;;
al@20534 38 poedit)
al@20534 39 copy @std @rm
Hans-G?nter@21411 40 DEPENDS="gettext gtkspell lucene++ wxWidgets"
al@20534 41 SUGGESTED="aspell"
al@20534 42 ;;
pascal@20324 43 esac
pankso@41 44 }