wok-next view poedit/receipt @ rev 20364

Up palemoon (27.6.1)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Nov 24 05:32:16 2017 +0100 (2017-11-24)
parents 7042a09beaeb
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
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 BUILD_DEPENDS="automake gettext asciidoc libxslt xmlto util-linux-getopt \
14 docbook-xsl gcc49 wxWidgets-dev icu-dev gtkspell-dev \
15 lucene++-dev db-dev libdb libdb-cxx expat-dev"
16 SPLIT="poedit poedit-i18n"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export CXX=/usr/bin/i486-slitaz-linux-g++-49
22 #export CXXFLAGS="$CFLAGS -std=gnu++11"
23 ./bootstrap &&
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 case $PACKAGE in
36 poedit)
37 SUGGESTED="aspell"
38 DEPENDS="wxWidgets lucene++ gtkspell gcc49-lib-base gettext-tools"
39 cp -a $install/* $fs
40 rm -r $fs/usr/share/locale $fs/usr/share/man
41 ;;
42 poedit-18n)
43 CAT="localization|Translations for Poedit"
44 DEPENDS="poedit"
45 mkdir -p $fs/usr/share
46 cp -a $install/usr/share/locale $fs/usr/share
47 ;;
48 esac
49 }