From 4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sat, 18 Sep 2010 20:47:21 +0200 Subject: Major overhaul and cleanup. Support for .ubi image file installations. Only compile&install a minimum host Gforth for bootstrapping the target Gforth, removing strange emacs-dependencies that cropped up earlier. Image file can now be built on the nanonote using 'gforth-update-image' command. Also, Gforth is now run through a wrapper that calls 'gforth-update-image' automatically, if necessary. Also first attempts at supporting libcc C-interface libraries pre-compiled on the host. Tested to compile on amd64 and i386. --- surfraw/Makefile | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 surfraw/Makefile (limited to 'surfraw/Makefile') diff --git a/surfraw/Makefile b/surfraw/Makefile new file mode 100644 index 0000000..82d27e9 --- /dev/null +++ b/surfraw/Makefile @@ -0,0 +1,48 @@ +# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=surfraw +PKG_VERSION:=2.2.7 +PKG_RELEASE:=1 +#http://surfraw.alioth.debian.org/dist/surfraw-2.2.7.tar.gz + +PKG_SOURCE:=surfraw-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://surfraw.alioth.debian.org/dist +PKG_MD5SUM:=213010e9b7c8478827e8903530cf7787 +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/surfraw-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/surfraw + SECTION:=internet + CATEGORY:=Network + TITLE:=command line interface to WWW search engines + DEPENDS:=+perl +libreadline + URL:=http://surfraw.alioth.debian.org/ +endef + +define Package/surfraw/description + Command line launcher for search engines and other Internet services. +endef + +define Build/Configure + $(call Build/Configure/Default, \ + --prefix=/usr --disable-opensearch --with-linux-headers="$(LINUX_DIR)" \ + export READLINE=1 \ + ) +endef + +define Package/surfraw/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/surfraw $(1)/usr/bin/sr + $(INSTALL_BIN) $(PKG_BUILD_DIR)/surfraw $(1)/usr/bin/surfraw + $(INSTALL_DIR) $(1)/usr/lib/surfraw + $(INSTALL_BIN) $(PKG_BUILD_DIR)/elvi/* $(1)/usr/lib/surfraw/ + $(INSTALL_DIR) $(1)/etc + $(INSTALL_BIN) $(PKG_BUILD_DIR)/surfraw.conf $(1)/etc +endef + +$(eval $(call BuildPackage,surfraw)) -- cgit v1.2.3