mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
netsurf - at least shows up.
This commit is contained in:
+13
-4
@@ -11,6 +11,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.netsurf-browser.org/downloads/development/
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/netsurf
|
||||
@@ -19,15 +21,18 @@ define Package/netsurf
|
||||
CATEGORY:=Network
|
||||
TITLE:=netsurf
|
||||
URL:=http://www.netsurf-browser.org/
|
||||
DEPENDS:=+libsdl +libcss +libhubbub +libparserutils @BROKEN
|
||||
DEPENDS:=+libsdl +libcss +libhubbub +libparserutils +libnsfb +libxml2 +libcurl
|
||||
endef
|
||||
|
||||
define Package/netsurf/description
|
||||
NetSurf is a free, open source web browser. It is written in C and released under the GNU Public Licence version 2. NetSurf has its own layout and rendering engine entirely written from scratch. It is small and capable of handling many of the web standards in use today.
|
||||
endef
|
||||
|
||||
MAKE_VARS +=
|
||||
MAKE_FLAGS += "TARGET=framebuffer" \
|
||||
"PREFIX=/usr"
|
||||
|
||||
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL
|
||||
TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Build/Prepare
|
||||
$(call Build/Prepare/Default)
|
||||
@@ -36,11 +41,15 @@ endef
|
||||
|
||||
define Package/netsurf/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/bin \
|
||||
$(1)/usr/bin $(1)/usr/share/netsurf
|
||||
|
||||
$(INSTALL_BIN) \
|
||||
./files/netsurf \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/netsurf \
|
||||
$(1)/usr/bin/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/netsurf/* \
|
||||
$(1)/usr/share/netsurf/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,netsurf))
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# NetSurf build configuration example
|
||||
#
|
||||
#
|
||||
# To configure NetSurf's build options create a Makefile.config file. This is
|
||||
# an example Makefile.config.
|
||||
#
|
||||
# To see the available config options, look at Makefile.defaults
|
||||
|
||||
|
||||
# For example, by default, NetSurf builds with BMP support. If you
|
||||
# wish to disable this, then uncomment the following line.
|
||||
|
||||
override NETSURF_USE_BMP := NO
|
||||
override NETSURF_USE_GIF := NO
|
||||
override NETSURF_USE_MNG := NO
|
||||
Reference in New Issue
Block a user