wok view poedit/receipt @ rev 24650
updated htop (2.2.0 -> 3.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 16:26:13 2022 +0100 (2022-03-10) |
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 }