2012-04-04 07:53:36 +03:00
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := libnsgif
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:36 +03:00
PKG_MD5SUM := 1f9efcdbbf0096eee639dc1e263b20dc
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 g i f
MAINTAINER:= "Xiangfu Liu" <xiangfu@sharism.cc>
SECTION:= libs
CATEGORY:= Libraries
TITLE:= GIF decoding library
URL:= http://www.netsurf-browser.org/projects/libnsgif
e n d e f
d e f i n e P a c k a g e / l i b n s g i f / d e s c r i p t i o n
Libnsgif is a decoding library for the GIF image file format, 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 g i f / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/local/lib/libnsgif.so* $( 1) /usr/lib/
e n d e f
$( eval $ ( call BuildPackage ,libnsgif ) )