wok-current view poedit/receipt @ rev 25416
updated wxWidgets and wxWidgets-dev (3.1.3 -> 3.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 09:20:59 2022 +0100 (2022-08-04) |
parents | 3fe0ed7c1aac |
children |
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 }