From 9aaeb4623d3ff5746e665bc17914eefd292b7dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 15:19:00 +0100 Subject: New OpenWrt package for GNU Octave. Experimental/probably still broken. Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days. --- w3m/Makefile | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 w3m/Makefile (limited to 'w3m/Makefile') diff --git a/w3m/Makefile b/w3m/Makefile new file mode 100644 index 0000000..6cf1d9a --- /dev/null +++ b/w3m/Makefile @@ -0,0 +1,49 @@ +# +# Copyright (C) 2009 Qi Hardware Inc. +# Author: Xiangfu Liu +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. + +include $(TOPDIR)/rules.mk + +PKG_NAME:=w3m +PKG_VERSION:=0.5.2 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@SF/$(PKG_NAME) +PKG_MD5SUM:=ba06992d3207666ed1bf2dcf7c72bf58 + +include $(INCLUDE_DIR)/package.mk + +define Package/w3m + TITLE:=w3m + SUBMENU:=Web + SECTION:=network + CATEGORY:=Network + URL:=http://w3m.sourceforge.net/ + DEPENDS:=+libopenssl +gc +libncurses +endef + +define Package/w3m/description + w3m is a text-based web browser +endef + +define Build/Prepare + $(call Build/Prepare/Default) + $(CP) $(FILES_DIR)/functable.c $(PKG_BUILD_DIR) + $(CP) $(FILES_DIR)/tagtable.c $(PKG_BUILD_DIR) +endef + +CONFIGURE_ARGS += --with-ssl=$(STAGING_DIR)/usr \ + --with-gc=$(STAGING_DIR)/usr/lib + +CONFIGURE_VARS += ac_cv_lib_gc_GC_init=yes + + +define Package/w3m/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/w3m $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,w3m)) -- cgit v1.2.3