wok-next diff poedit/receipt @ rev 20735

netatalk: tried to compile against openssl-1.0, but disabled openssl completely. Anyway, package isn't broken now.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 19:56:27 2018 +0300 (2018-05-29)
parents 731f74708293
children d5aab818505e
line diff
     1.1 --- a/poedit/receipt	Sun Nov 12 00:47:34 2017 +0100
     1.2 +++ b/poedit/receipt	Tue May 29 19:56:27 2018 +0300
     1.3 @@ -7,43 +7,35 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  LICENSE="MIT"
     1.6  WEB_SITE="http://poedit.net/"
     1.7 +
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WGET_URL="https://github.com/vslavik/$PACKAGE/archive/v$VERSION-oss.tar.gz"
    1.10  
    1.11  BUILD_DEPENDS="automake gettext asciidoc libxslt xmlto util-linux-getopt \
    1.12  docbook-xsl gcc49 wxWidgets-dev icu-dev gtkspell-dev \
    1.13  lucene++-dev db-dev libdb libdb-cxx expat-dev"
    1.14 -SPLIT="poedit poedit-i18n"
    1.15 +SPLIT="poedit-i18n poedit"
    1.16  
    1.17 -# Rules to configure and make the package.
    1.18 -compile_rules()
    1.19 -{
    1.20 +compile_rules() {
    1.21  	export CXX=/usr/bin/i486-slitaz-linux-g++-49
    1.22  	#export CXXFLAGS="$CFLAGS -std=gnu++11"
    1.23  	./bootstrap &&
    1.24 -	./configure \
    1.25 -		--prefix=/usr \
    1.26 -		--sysconfdir=/etc \
    1.27 -		$CONFIGURE_ARGS &&
    1.28 +	./configure $CONFIGURE_ARGS &&
    1.29  	make &&
    1.30  	make DESTDIR=$DESTDIR install
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	case $PACKAGE in
    1.38 -	poedit)
    1.39 -		SUGGESTED="aspell"
    1.40 -		DEPENDS="wxWidgets lucene++ gtkspell gcc49-lib-base gettext-tools"
    1.41 -		cp -a $install/* $fs
    1.42 -		rm -r $fs/usr/share/locale $fs/usr/share/man
    1.43 -		;;
    1.44 -	poedit-18n)
    1.45 -		CAT="localization|Translations for Poedit"
    1.46 -		DEPENDS="poedit"
    1.47 -		mkdir -p $fs/usr/share
    1.48 -		cp -a $install/usr/share/locale $fs/usr/share
    1.49 -		;;
    1.50 +		poedit-18n)
    1.51 +			copy locale/
    1.52 +			CAT="localization|translations"
    1.53 +			DEPENDS="poedit"
    1.54 +			;;
    1.55 +		poedit)
    1.56 +			copy @std @rm
    1.57 +			DEPENDS="wxWidgets lucene++ gtkspell gcc49-lib-base gettext-tools"
    1.58 +			SUGGESTED="aspell"
    1.59 +			;;
    1.60  	esac
    1.61  }