diff options
| author | David Kühling <dvdkhlng@gmx.de> | 2011-01-02 15:19:00 +0100 |
|---|---|---|
| committer | David Kühling <dvdkhlng@gmx.de> | 2011-01-02 15:19:00 +0100 |
| commit | 9aaeb4623d3ff5746e665bc17914eefd292b7dcd (patch) | |
| tree | 370db60ffdc2ef840b7d1124d5a392f93bba3c9d /links/Makefile | |
| download | qipackages-fork-9aaeb4623d3ff5746e665bc17914eefd292b7dcd.tar.gz | |
New OpenWrt package for GNU Octave. Experimental/probably still broken.grafted
Work in progress. Committing it as compilation seems to take forever.
Not sure whether I can finish this within a few days.
Diffstat (limited to 'links/Makefile')
| -rw-r--r-- | links/Makefile | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/links/Makefile b/links/Makefile new file mode 100644 index 0000000..f6c3052 --- /dev/null +++ b/links/Makefile @@ -0,0 +1,61 @@ +# +# Copyright (C) 2009 Qi Hardware Inc. +# Author: Xiangfu Liu <xiangfu@qi-hardware.com> +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=links +PKG_VERSION:=2.2 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://links.twibright.com/download/ + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/links + TITLE:=Text and graphics WWW browser + SUBMENU:=Web + SECTION:=net + CATEGORY:=Network + URL:=http://links.twibright.com/ + DEPENDS:=+libpng +libtiff +endef + +define Package/links/description + Text and graphics WWW browser +endef + +define Build/Prepare + $(call Build/Prepare/Default) + $(CP) $(FILES_DIR)/directfb-config $(PKG_BUILD_DIR) +endef + +CONFIGURE_ARGS += --enable-graphics \ + --enable-debuglevel=0 \ + --without-gpm \ + --without-svgalib \ + --without-pmshell \ + --without-atheos \ + --without-x \ + --without-fb + +TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/directfb + +CONFIGURE_VARS += \ + DIRECTFB_CONFIG="$(PKG_BUILD_DIR)/directfb-config $(STAGING_DIR)" +#DIRECTFB_CONFIG="$(STAGING_DIR)/root-xburst/usr/bin/directfb-config" + +define Package/links/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/links $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,links)) |
