wok-current annotate poedit/receipt @ rev 24569

sokojs: add shrink.sh (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 26 18:46:53 2022 +0000 (2022-02-26)
parents 3fe0ed7c1aac
children
rev   line source
pankso@41 1 # SliTaz package receipt.
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"
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pascal@15375 8 LICENSE="MIT"
pascal@20679 9 WEB_SITE="https://poedit.net/"
pascal@15375 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18525 11 WGET_URL="https://github.com/vslavik/$PACKAGE/archive/v$VERSION-oss.tar.gz"
pascal@15375 12
pascal@22396 13 DEPENDS="wxWidgets lucene++ gtkspell gcc83-lib-base gettext-tools"
al@18525 14 BUILD_DEPENDS="automake gettext asciidoc libxslt xmlto util-linux-getopt \
pascal@22396 15 docbook-xsl gcc83 wxWidgets-dev icu-dev gtkspell-dev \
al@18525 16 lucene++-dev db-dev libdb libdb-cxx expat-dev"
al@18526 17 SUGGESTED="aspell"
pankso@41 18
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/v\(.*\)-oss.tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
pankso@41 25 # Rules to configure and make the package.
pankso@41 26 compile_rules()
pankso@41 27 {
pascal@19924 28 sed -i 's/Env(0)/Env(0u)/;s/env2(0)/env2(0u)/' src/tm/dump_legacy_tm.cpp
pascal@22396 29 export CXX=/usr/bin/i486-slitaz-linux-g++-83
al@18525 30 #export CXXFLAGS="$CFLAGS -std=gnu++11"
al@18525 31 ./bootstrap &&
al@16885 32 ./configure \
al@16885 33 --prefix=/usr \
al@18525 34 --sysconfdir=/etc \
al@16885 35 $CONFIGURE_ARGS &&
pascal@1465 36 make &&
pascal@15375 37 make DESTDIR=$DESTDIR install
pankso@41 38 }
pankso@41 39
pankso@41 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 41 genpkg_rules()
pankso@41 42 {
al@18525 43 cp -a $install/* $fs
al@18525 44 rm -r $fs/usr/share/locale $fs/usr/share/man
pankso@41 45 }