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
PKG_VERSION := 0.0.2
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)
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
SECTION:= libs
CATEGORY:= Libraries
TITLE:= Hubbub is an HTML5 compliant parsing library
URL:= http://www.netsurf-browser.org/projects/hubbub/
2010-11-18 17:55:16 +02:00
DEPENDS:= +libparserutils @BROKEN
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)
$( MAKE) -C $( PKG_BUILD_DIR) \
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 ) )