wok view poedit/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 3fe0ed7c1aac
children 0262035dc1e7
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 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\)-oss.tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's/Env(0)/Env(0u)/;s/env2(0)/env2(0u)/' src/tm/dump_legacy_tm.cpp
29 export CXX=/usr/bin/i486-slitaz-linux-g++-83
30 #export CXXFLAGS="$CFLAGS -std=gnu++11"
31 ./bootstrap &&
32 ./configure \
33 --prefix=/usr \
34 --sysconfdir=/etc \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/* $fs
44 rm -r $fs/usr/share/locale $fs/usr/share/man
45 }