Date:2010-11-18 15:53:44 (13 years 4 months ago)
Author:Xiangfu Liu
Commit:5ab22269b831d56696eb2f69877f09cf707456fb
Message:add libhubbub, an HTML5 compliant parsing library

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
Files: libhubbub/Makefile (1 diff)

Change Details

libhubbub/Makefile
1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=libhubbub
4PKG_VERSION:=0.0.2
5PKG_RELEASE:=1
6
7PKG_SOURCE:=hubbub-$(PKG_VERSION)-src.tar.gz
8PKG_SOURCE_URL:=http://www.netsurf-browser.org/projects/releases/
9PKG_BUILD_DIR:=$(BUILD_DIR)/hubbub-$(PKG_VERSION)
10
11include $(INCLUDE_DIR)/package.mk
12
13define Package/libhubbub
14    SECTION:=libs
15    CATEGORY:=Libraries
16    TITLE:=Hubbub is an HTML5 compliant parsing library
17    URL:=http://www.netsurf-browser.org/projects/hubbub/
18    DEPENDS:=+libparserutils
19endef
20
21define Package/libhubbub/description
22    Hubbub is an HTML5 compliant parsing library, written in C. It was developed as part of the NetSurf project and is available for use by other software under the MIT licence.
23endef
24
25define Build/InstallDev
26    mkdir -p $(1)/usr/include
27    #$(CP) $(PKG_INSTALL_DIR)/usr/local/include/physfs.h $(1)/usr/include/
28    mkdir -p $(1)/usr/lib
29    #$(CP) $(PKG_INSTALL_DIR)/usr/local/lib/libhubbub.so* $(1)/usr/lib/
30endef
31
32define Package/libhubbub/install
33    $(INSTALL_DIR) $(1)/usr/lib
34    #$(CP) $(PKG_BUILD_DIR)/libhubbub.so* $(1)/usr/lib/
35endef
36
37$(eval $(call BuildPackage,libhubbub))

Archive Download the corresponding diff file



interactive