elinks: unbreak cross; enable some useful options/features.

This commit is contained in:
Juan RP 2015-01-04 10:05:17 +01:00
parent 8d3daa4683
commit 3c6c3fe93a
2 changed files with 27 additions and 3 deletions

View File

@ -0,0 +1,20 @@
Remove this nonsense to allow cross compilation...
--- configure.in.orig 2015-01-04 09:56:34.986063527 +0100
+++ configure.in 2015-01-04 09:56:43.842149084 +0100
@@ -44,15 +44,6 @@ if test -e Makefile.config; then
fi
# ===================================================================
-# Load feature configuration file and start logging features.
-# ===================================================================
-
-features="features.conf"
-AC_CHECK_FILE("$srcdir/$features", [ . $srcdir/$features ])
-AC_CHECK_FILE("$builddir/$features", [ . $builddir/$features ])
-echo "Feature summary:" > features.log
-
-# ===================================================================
# Checks for programs.
# ===================================================================

View File

@ -1,10 +1,11 @@
# Template file for 'elinks'
pkgname=elinks
version=0.12pre6
revision=6
nocross=yes
revision=7
build_style=gnu-configure
makedepends="zlib-devel ncurses-devel libressl-devel>=2.1.2"
configure_args="--enable-true-color --enable-fastmem"
hostmakedepends="automake libtool pkg-config"
makedepends="gpm-devel zlib-devel bzip2-devel libidn-devel tre-devel ncurses-devel libressl-devel>=2.1.2"
short_desc="Full-Featured Text WWW Browser"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://elinks.or.cz"
@ -12,6 +13,9 @@ license="GPL-3"
distfiles="http://elinks.or.cz/download/$pkgname-$version.tar.bz2"
checksum=383646375b8a325bef5a132c8300caab90eb0b842c5f8eff68febc00e29acada
pre_configure() {
autoreconf -fi
}
post_install() {
rm -f ${DESTDIR}/usr/share/locale/locale.alias
}