elinks: unbreak cross; enable some useful options/features.
This commit is contained in:
parent
8d3daa4683
commit
3c6c3fe93a
2 changed files with 27 additions and 3 deletions
20
srcpkgs/elinks/patches/cross.patch
Normal file
20
srcpkgs/elinks/patches/cross.patch
Normal 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.
|
||||||
|
# ===================================================================
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# Template file for 'elinks'
|
# Template file for 'elinks'
|
||||||
pkgname=elinks
|
pkgname=elinks
|
||||||
version=0.12pre6
|
version=0.12pre6
|
||||||
revision=6
|
revision=7
|
||||||
nocross=yes
|
|
||||||
build_style=gnu-configure
|
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"
|
short_desc="Full-Featured Text WWW Browser"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://elinks.or.cz"
|
homepage="http://elinks.or.cz"
|
||||||
|
@ -12,6 +13,9 @@ license="GPL-3"
|
||||||
distfiles="http://elinks.or.cz/download/$pkgname-$version.tar.bz2"
|
distfiles="http://elinks.or.cz/download/$pkgname-$version.tar.bz2"
|
||||||
checksum=383646375b8a325bef5a132c8300caab90eb0b842c5f8eff68febc00e29acada
|
checksum=383646375b8a325bef5a132c8300caab90eb0b842c5f8eff68febc00e29acada
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -f ${DESTDIR}/usr/share/locale/locale.alias
|
rm -f ${DESTDIR}/usr/share/locale/locale.alias
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue