wok view poedit/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
children c470ca10c896
line source
1 # SliTaz package receipt.
3 PACKAGE="poedit"
4 VERSION="1.8.6"
5 CATEGORY="localization"
6 SHORT_DESC="A cross-platform gettext catalogs editing tool"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://poedit.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/vslavik/$PACKAGE/archive/v$VERSION-oss.tar.gz"
13 DEPENDS="wxWidgets lucene++ gtkspell gcc83-lib-base gettext-tools"
14 BUILD_DEPENDS="automake gettext asciidoc libxslt xmlto util-linux-getopt \
15 docbook-xsl gcc83 wxWidgets-dev icu-dev gtkspell-dev \
16 lucene++-dev db-dev libdb libdb-cxx expat-dev"
17 SUGGESTED="aspell"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's/Env(0)/Env(0u)/;s/env2(0)/env2(0u)/' src/tm/dump_legacy_tm.cpp
30 export CXX=/usr/bin/i486-slitaz-linux-g++-83
31 #export CXXFLAGS="$CFLAGS -std=gnu++11"
32 ./bootstrap &&
33 ./configure \
34 --prefix=/usr \
35 --sysconfdir=/etc \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 rm -r $fs/usr/share/locale $fs/usr/share/man
46 }