wok view poedit/receipt @ rev 20580

go: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 22:11:22 2018 +0100 (2018-12-13)
parents 7042a09beaeb
children 6135577f4d08
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="http://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 gcc49-lib-base gettext-tools"
14 BUILD_DEPENDS="automake gettext asciidoc libxslt xmlto util-linux-getopt \
15 docbook-xsl gcc49 wxWidgets-dev icu-dev gtkspell-dev \
16 lucene++-dev db-dev libdb libdb-cxx expat-dev"
17 SUGGESTED="aspell"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's/Env(0)/Env(0u)/;s/env2(0)/env2(0u)/' src/tm/dump_legacy_tm.cpp
23 export CXX=/usr/bin/i486-slitaz-linux-g++-49
24 #export CXXFLAGS="$CFLAGS -std=gnu++11"
25 ./bootstrap &&
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 rm -r $fs/usr/share/locale $fs/usr/share/man
39 }