# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		giblib
PKG_VERSION:=		1.2.4
PKG_RELEASE:=		2
PKG_HASH:=		176611c4d88d742ea4013991ad54c2f9d2feefbc97a28434c0f48922ebaa8bac
PKG_DESCR:=		imlib2 wrapper library
PKG_SECTION:=		libs/image
PKG_DEPENDS:=		imlib2
PKG_BUILDDEP:=		imlib2
PKG_SITES:=		http://linuxbrit.co.uk/downloads/
PKG_OPTS:=		dev

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,GIBLIB,giblib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))

giblib-install:
	$(INSTALL_DIR) $(IDIR_GIBLIB)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libgiblib*so* \
		$(IDIR_GIBLIB)/usr/lib

include ${ADK_TOPDIR}/mk/pkg-bottom.mk
