summaryrefslogtreecommitdiff
path: root/package/elinks/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/elinks/Makefile')
-rw-r--r--package/elinks/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/package/elinks/Makefile b/package/elinks/Makefile
index eba50742f..a555a5db6 100644
--- a/package/elinks/Makefile
+++ b/package/elinks/Makefile
@@ -5,19 +5,22 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= elinks
PKG_VERSION:= 0.11.7
-PKG_RELEASE:= 1
+PKG_RELEASE:= 3
PKG_MD5SUM:= 145c510cae41c204d0f23dce4bdd23ab
PKG_DESCR:= advanced text web browser
PKG_SECTION:= text
PKG_DEPENDS:= libopenssl
-PKG_URL:= http://elinks.or.cz
+PKG_BUILDDEP+= openssl
+PKG_URL:= http://elinks.or.cz/
PKG_SITES:= http://elinks.or.cz/download/
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ELINKS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_STYLE:= gnu
+INSTALL_STYLE:= manual
+
+TCFLAGS+= -fPIC
CONFIGURE_ENV+= $(shell echo ac_cv_file_./features.conf | tr [:blank:]-/. _)=yes
CONFIGURE_ENV+= $(shell echo ac_cv_file_${WRKBUILD}/features.conf | tr [:blank:]-/. _)=yes
CONFIGURE_ARGS+= --enable-small \
@@ -41,8 +44,7 @@ CONFIGURE_ARGS+= --enable-small \
--without-spidermonkey \
--without-x \
--without-zlib
-BUILD_STYLE:= auto
-MAKE_FLAGS+= V=1 CC='${TARGET_CC}' LD='${TARGET_CC}'
+MAKE_FLAGS+= CC='${TARGET_CC}'
do-install:
${INSTALL_DIR} ${IDIR_ELINKS}/usr/bin