1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-05 08:45:56 +02:00
openwrt-packages/netsurf/Makefile

57 lines
1.5 KiB
Makefile
Raw Normal View History

# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
PKG_NAME:=netsurf
PKG_VERSION:=r10948
PKG_RELEASE:=1
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)
2010-11-20 13:44:08 +02:00
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/netsurf
2011-01-17 05:39:00 +02:00
MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
SUBMENU:=Web
SECTION:=network
CATEGORY:=Network
TITLE:=netsurf
URL:=http://www.netsurf-browser.org/
2010-11-20 14:26:12 +02:00
DEPENDS:=+libsdl +libcss +libhubbub +libparserutils +libnsfb +libxml2 +libcurl +libfreetype
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
2010-11-20 13:44:08 +02:00
MAKE_FLAGS += "TARGET=framebuffer" \
"PREFIX=/usr"
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL
2010-11-20 13:44:08 +02:00
TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
define Build/Prepare
$(call Build/Prepare/Default)
$(CP) $(FILES_DIR)/Makefile.config $(PKG_BUILD_DIR)
endef
define Package/netsurf/install
$(INSTALL_DIR) \
2010-11-20 13:44:08 +02:00
$(1)/usr/bin $(1)/usr/share/netsurf
$(INSTALL_BIN) \
2010-11-20 13:44:08 +02:00
$(PKG_INSTALL_DIR)/usr/bin/netsurf \
$(1)/usr/bin/
2010-11-20 13:44:08 +02:00
$(INSTALL_DATA) \
$(PKG_INSTALL_DIR)/usr/share/netsurf/* \
$(1)/usr/share/netsurf/
endef
$(eval $(call BuildPackage,netsurf))