summaryrefslogtreecommitdiff
path: root/package/elinks/Makefile
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/elinks/Makefile
Initial import
Diffstat (limited to 'package/elinks/Makefile')
-rw-r--r--package/elinks/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/package/elinks/Makefile b/package/elinks/Makefile
new file mode 100644
index 000000000..c2a8e485a
--- /dev/null
+++ b/package/elinks/Makefile
@@ -0,0 +1,49 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= elinks
+PKG_VERSION:= 0.11.3
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 11547e054d7afb1f5ac9e9f65728cc6a
+MASTER_SITES:= http://elinks.or.cz/download/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,ELINKS,elinks,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+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 \
+ --enable-256-colors \
+ --with-openssl='${STAGING_DIR}/usr' \
+ --disable-backtrace \
+ --disable-data \
+ --disable-formhist \
+ --disable-leds \
+ --disable-mailcap \
+ --disable-mouse \
+ --disable-smb \
+ --disable-uri-rewrite \
+ --disable-xbel \
+ --without-bzlib \
+ --without-gpm \
+ --without-idn \
+ --without-gnutls \
+ --without-libiconv \
+ --without-lua \
+ --without-spidermonkey \
+ --without-x \
+ --without-zlib
+BUILD_STYLE:= auto
+MAKE_FLAGS+= CC='${TARGET_CC}' LD='${TARGET_CROSS}ld'
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_ELINKS}/usr/bin
+ ${INSTALL_BIN} ${WRKBUILD}/src/elinks ${IDIR_ELINKS}/usr/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk