summaryrefslogtreecommitdiff
path: root/package/libjasper/Makefile
blob: aae15be1d20a2729de22c8bc055214bb1809faf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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:=		libjasper
PKG_VERSION:=		1.900
PKG_RELEASE:=		2
PKG_HASH:=		6b905a9c2aca2e275544212666eefc4eb44d95d0a57e4305457b407fe63f9494
PKG_DESCR:=		implementation of the codec specified in the jpeg-2000 standard
PKG_SECTION:=		libs/image
PKG_URL:=		http://www.ece.uvic.ca/~frodo/jasper/
PKG_SITES:=		http://www.ece.uvic.ca/~frodo/jasper/software/
PKG_OPTS:=		dev

DISTFILES:=             jasper-${PKG_VERSION}.1.zip
WRKDIST=		${WRKDIR}/jasper-$(PKG_VERSION).1

include $(ADK_TOPDIR)/mk/package.mk

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

XAKE_FLAGS+=		GCC_HONOUR_COPTS=s

libjasper-install:
	$(INSTALL_DIR) $(IDIR_LIBJASPER)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libjasper*.so* \
		$(IDIR_LIBJASPER)/usr/lib

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