Root/links/Makefile

1#
2# Copyright (C) 2009 Qi Hardware Inc.
3# Author: Xiangfu Liu <xiangfu@qi-hardware.com>
4#
5# This is free software, licensed under the GNU General Public License v2.
6# See /LICENSE for more information.
7#
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=links
12PKG_VERSION:=2.2
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://links.twibright.com/download/
16
17PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
18
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/links
24    TITLE:=Text and graphics WWW browser
25    SUBMENU:=Web
26    SECTION:=net
27    CATEGORY:=Network
28    URL:=http://links.twibright.com/
29    DEPENDS:=+libpng +libtiff
30endef
31
32define Package/links/description
33    Text and graphics WWW browser
34endef
35
36define Build/Prepare
37    $(call Build/Prepare/Default)
38    $(CP) $(FILES_DIR)/directfb-config $(PKG_BUILD_DIR)
39endef
40
41CONFIGURE_ARGS += --enable-graphics \
42  --enable-debuglevel=0 \
43  --without-gpm \
44  --without-svgalib \
45  --without-pmshell \
46  --without-atheos \
47  --without-x \
48  --without-fb
49
50TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/directfb
51
52CONFIGURE_VARS += \
53    DIRECTFB_CONFIG="$(PKG_BUILD_DIR)/directfb-config $(STAGING_DIR)"
54#DIRECTFB_CONFIG="$(STAGING_DIR)/root-xburst/usr/bin/directfb-config"
55
56define Package/links/install
57    $(INSTALL_DIR) $(1)/usr/bin
58    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/links $(1)/usr/bin/
59endef
60
61$(eval $(call BuildPackage,links))
62

Archive Download this file



interactive