wok-next diff elinks/receipt @ rev 20846

mingw32-gcc: fix CFLAGS, CXXFLAGS as it is not recent GCC and it don't understand something
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 13:59:48 2018 +0300 (2018-06-23)
parents 2ce8e40ab44e
children d5aab818505e
line diff
     1.1 --- a/elinks/receipt	Sat Aug 08 19:55:49 2015 +0200
     1.2 +++ b/elinks/receipt	Sat Jun 23 13:59:48 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="elinks"
     1.8  VERSION="0.12pre6"
     1.9 @@ -6,18 +6,18 @@
    1.10  SHORT_DESC="Full featured www text browser"
    1.11  MAINTAINER="allan316@gmail.com"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="http://elinks.or.cz"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="http://elinks.or.cz"
    1.17  WGET_URL="$WEB_SITE/download/$TARBALL"
    1.18 -TAGS="web-browser"
    1.19  
    1.20 -DEPENDS="openssl bzip2 spidermonkey zlib libidn expat gpm"
    1.21 -BUILD_DEPENDS="openssl-dev bzip2-dev spidermonkey-dev zlib-dev libidn-dev \
    1.22 -expat-dev gpm-dev"
    1.23 +BUILD_DEPENDS="openssl10-dev bzip2-dev spidermonkey-dev zlib-dev libidn-dev \
    1.24 +expat-dev gpm-dev gettext"
    1.25  
    1.26 -# Rules to configure and make the package.
    1.27 -compile_rules()
    1.28 -{
    1.29 +compile_rules() {
    1.30 +	export CPPFLAGS="$CPPFLAGS -I/usr/include/openssl-1.0"
    1.31 +	export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0"
    1.32 +
    1.33  	# --enable-fastmem: disables internal `malloc()` debugging and 
    1.34  	# use `alloca()` wherever possible.
    1.35  	# --disable-backtrace disables internal backtrace code.
    1.36 @@ -25,13 +25,15 @@
    1.37  		--enable-fastmem \
    1.38  		--disable-backtrace \
    1.39  		--without-x \
    1.40 -		$CONFIGURE_ARGS && 
    1.41 -	make && make DESTDIR=$DESTDIR install
    1.42 +		--with-openssl \
    1.43 +		--enable-88-colors \
    1.44 +		$CONFIGURE_ARGS &&
    1.45 +	make &&
    1.46 +	make DESTDIR=$DESTDIR install
    1.47  }
    1.48  
    1.49 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.50 -genpkg_rules()
    1.51 -{
    1.52 -	mkdir -p $fs/usr
    1.53 -	cp -a $install/usr/bin $fs/usr
    1.54 +genpkg_rules() {
    1.55 +	copy @std
    1.56 +	DEPENDS="bzlib expat libidn openssl10 spidermonkey zlib"
    1.57 +	TAGS="web-browser"
    1.58  }