2009-10-18 05:57:30 +03:00
|
|
|
#
|
|
|
|
# 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
|
2011-02-09 10:57:00 +02:00
|
|
|
PKG_VERSION:=2.3pre1
|
2009-10-18 05:57:30 +03:00
|
|
|
|
|
|
|
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
|
2011-01-17 05:39:00 +02:00
|
|
|
MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
|
2010-08-01 16:30:13 +03:00
|
|
|
TITLE:=Text and graphics WWW browser
|
|
|
|
SUBMENU:=Web
|
|
|
|
SECTION:=net
|
2009-10-18 05:57:30 +03:00
|
|
|
CATEGORY:=Network
|
|
|
|
URL:=http://links.twibright.com/
|
2011-02-09 10:57:00 +02:00
|
|
|
DEPENDS:=+libpng +libtiff +libopenssl +directfb +svgalib +libjpeg
|
2009-10-18 05:57:30 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/links/description
|
2009-10-18 06:01:16 +03:00
|
|
|
Text and graphics WWW browser
|
2009-10-18 05:57:30 +03:00
|
|
|
endef
|
|
|
|
|
2010-09-25 00:57:07 +03:00
|
|
|
define Build/Prepare
|
|
|
|
$(call Build/Prepare/Default)
|
|
|
|
$(CP) $(FILES_DIR)/directfb-config $(PKG_BUILD_DIR)
|
|
|
|
endef
|
|
|
|
|
2009-10-30 17:26:30 +02:00
|
|
|
CONFIGURE_ARGS += --enable-graphics \
|
|
|
|
--enable-debuglevel=0 \
|
|
|
|
--without-gpm \
|
|
|
|
--without-pmshell \
|
|
|
|
--without-atheos \
|
2011-02-09 10:57:00 +02:00
|
|
|
--without-x
|
2009-10-18 05:57:30 +03:00
|
|
|
|
2010-06-24 13:13:57 +03:00
|
|
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/directfb
|
|
|
|
|
|
|
|
CONFIGURE_VARS += \
|
2010-09-25 00:57:07 +03:00
|
|
|
DIRECTFB_CONFIG="$(PKG_BUILD_DIR)/directfb-config $(STAGING_DIR)"
|
|
|
|
#DIRECTFB_CONFIG="$(STAGING_DIR)/root-xburst/usr/bin/directfb-config"
|
2010-06-24 13:13:57 +03:00
|
|
|
|
2009-10-18 05:57:30 +03:00
|
|
|
define Package/links/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2009-10-18 05:59:44 +03:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/links $(1)/usr/bin/
|
2009-10-18 05:57:30 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,links))
|