OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 1b3135c created 12 years 5 months ago. By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries | |
---|---|
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 | |
9 | include $(TOPDIR)/rules.mk |
10 | |
11 | PKG_NAME:=links |
12 | PKG_VERSION:=2.3pre1 |
13 | |
14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
15 | PKG_SOURCE_URL:=http://links.twibright.com/download/ |
16 | |
17 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
18 | |
19 | PKG_INSTALL:=1 |
20 | |
21 | include $(INCLUDE_DIR)/package.mk |
22 | |
23 | define Package/links |
24 | MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc> |
25 | TITLE:=Text and graphics WWW browser |
26 | SUBMENU:=Web |
27 | SECTION:=net |
28 | CATEGORY:=Network |
29 | URL:=http://links.twibright.com/ |
30 | DEPENDS:=+libpng +libtiff +libopenssl +directfb +svgalib +libjpeg |
31 | endef |
32 | |
33 | define Package/links/description |
34 | Text and graphics WWW browser |
35 | endef |
36 | |
37 | define Build/Prepare |
38 | $(call Build/Prepare/Default) |
39 | $(CP) $(FILES_DIR)/directfb-config $(PKG_BUILD_DIR) |
40 | endef |
41 | |
42 | CONFIGURE_ARGS += --enable-graphics \ |
43 | --enable-debuglevel=0 \ |
44 | --without-gpm \ |
45 | --without-pmshell \ |
46 | --without-atheos \ |
47 | --without-x |
48 | |
49 | TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/directfb |
50 | |
51 | CONFIGURE_VARS += \ |
52 | DIRECTFB_CONFIG="$(PKG_BUILD_DIR)/directfb-config $(STAGING_DIR)" |
53 | #DIRECTFB_CONFIG="$(STAGING_DIR)/root-xburst/usr/bin/directfb-config" |
54 | |
55 | define Package/links/install |
56 | $(INSTALL_DIR) $(1)/usr/bin |
57 | $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/links $(1)/usr/bin/ |
58 | endef |
59 | |
60 | $(eval $(call BuildPackage,links)) |
61 |