2010-11-18 16:53:44 +02:00
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := libhubbub
2012-04-04 07:50:58 +03:00
PKG_VERSION := 0.1.2
2010-11-18 16:53:44 +02:00
PKG_RELEASE := 1
PKG_SOURCE := hubbub-$( PKG_VERSION) -src.tar.gz
PKG_SOURCE_URL := http://www.netsurf-browser.org/projects/releases/
PKG_BUILD_DIR := $( BUILD_DIR) /hubbub-$( PKG_VERSION)
2012-04-04 07:50:58 +03:00
PKG_MD5SUM := 94e2819843f1e675dcccd2e569c9a0a2
2010-11-18 16:53:44 +02:00
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / l i b h u b b u b
2011-01-17 05:39:00 +02:00
MAINTAINER:= "Xiangfu Liu" <xiangfu@sharism.cc>
2010-11-18 16:53:44 +02:00
SECTION:= libs
CATEGORY:= Libraries
TITLE:= Hubbub is an HTML5 compliant parsing library
URL:= http://www.netsurf-browser.org/projects/hubbub/
2010-11-20 13:44:08 +02:00
DEPENDS:= +libparserutils
2010-11-18 16:53:44 +02:00
e n d e f
d e f i n e P a c k a g e / l i b h u b b u b / d e s c r i p t i o n
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.
e n d e f
2010-11-19 05:07:47 +02:00
d e f i n e B u i l d / C o m p i l e
rm -rf $( PKG_INSTALL_DIR)
2010-11-20 13:44:08 +02:00
$( MAKE_VARS) $( MAKE) -C $( PKG_BUILD_DIR) \
$( MAKE_FLAGS) \
2010-11-19 05:07:47 +02:00
COMPONENT_TYPE = lib-shared \
DESTDIR = " $( PKG_INSTALL_DIR) " \
all install
e n d e f
2010-11-18 16:53:44 +02:00
d e f i n e B u i l d / I n s t a l l D e v
mkdir -p $( 1) /usr/include
2010-11-19 05:07:47 +02:00
$( CP) $( PKG_INSTALL_DIR) /usr/local/include/* $( 1) /usr/include/
2010-11-18 16:53:44 +02:00
mkdir -p $( 1) /usr/lib
2010-11-19 05:07:47 +02:00
$( CP) $( PKG_INSTALL_DIR) /usr/local/lib/* $( 1) /usr/lib/
2010-11-18 16:53:44 +02:00
e n d e f
d e f i n e P a c k a g e / l i b h u b b u b / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
2010-11-19 05:07:47 +02:00
$( CP) $( PKG_INSTALL_DIR) /usr/local/lib/libhubbub.so* $( 1) /usr/lib/
2010-11-18 16:53:44 +02:00
e n d e f
$( eval $ ( call BuildPackage ,libhubbub ) )