2012-04-04 07:53:19 +03:00
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := libnsbmp
PKG_VERSION := 0.0.3
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:53:19 +03:00
PKG_MD5SUM := b418fd3f73a42190046e4e1ab98d799e
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 n s b m p
MAINTAINER:= "Xiangfu Liu" <xiangfu@sharism.cc>
SECTION:= libs
CATEGORY:= Libraries
TITLE:= BMP and ICO decoding library
URL:= http://www.netsurf-browser.org/projects/libnsbmp
e n d e f
d e f i n e P a c k a g e / l i b n s b m p / d e s c r i p t i o n
Libnsbmp is a decoding library for BMP and ICO image file formats, 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
d e f i n e B u i l d / C o m p i l e
rm -rf $( PKG_INSTALL_DIR)
$( MAKE_VARS) $( MAKE) -C $( PKG_BUILD_DIR) \
$( MAKE_FLAGS) \
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 n s b m p / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/local/lib/libnsbmp.so* $( 1) /usr/lib/
e n d e f
$( eval $ ( call BuildPackage ,libnsbmp ) )