2010-11-19 05:08:42 +02:00
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := libwapcaplet
2012-04-04 07:52:34 +03:00
PKG_VERSION := 0.1.1
2010-11-19 05:08:42 +02:00
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) -src.tar.gz
2012-10-12 13:46:57 +03:00
PKG_SOURCE_URL := http://download.netsurf-browser.org/libs/releases/
2012-04-04 07:52:34 +03:00
PKG_MD5SUM := 9bec92c029c978c3ac93fee67742e869
2010-11-19 05:08:42 +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 w a p c a p l e t
SECTION:= libs
CATEGORY:= Libraries
TITLE:= Libwapcaplet is a string internment library, written in C
URL:= http://www.netsurf-browser.org/projects/libwapcaplet/
e n d e f
d e f i n e P a c k a g e / l i b w a p c a p l e t / d e s c r i p t i o n
LibWapcaplet is a string internment library, written in C. It provides reference counted string interment and rapid string comparison functionality. It was developed as part of the NetSurf project.
e n d e f
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:08:42 +02:00
COMPONENT_TYPE = lib-shared \
DESTDIR = " $( PKG_INSTALL_DIR) " \
all install
e n d e f
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
$( CP) $( PKG_INSTALL_DIR) /usr/local/include/* $( 1) /usr/include/
mkdir -p $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/local/lib/* $( 1) /usr/lib/
e n d e f
d e f i n e P a c k a g e / l i b w a p c a p l e t / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/local/lib/libwapcaplet.so* $( 1) /usr/lib/
e n d e f
$( eval $ ( call BuildPackage ,libwapcaplet ) )