2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2009-02-28 21:44:12 +00:00
|
|
|
|
2009-04-05 13:00:17 +01:00
|
|
|
PKG := jasper
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_WEBSITE := http://www.ece.uvic.ca/~mdadams/jasper/
|
|
|
|
$(PKG)_DESCR := JasPer
|
2009-09-20 13:36:46 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2013-07-21 22:26:40 +01:00
|
|
|
$(PKG)_VERSION := 1.900.1
|
2015-09-23 09:32:58 +01:00
|
|
|
$(PKG)_CHECKSUM := 6b905a9c2aca2e275544212666eefc4eb44d95d0a57e4305457b407fe63f9494
|
2009-04-05 13:00:17 +01:00
|
|
|
$(PKG)_SUBDIR := jasper-$($(PKG)_VERSION)
|
|
|
|
$(PKG)_FILE := jasper-$($(PKG)_VERSION).zip
|
|
|
|
$(PKG)_URL := http://www.ece.uvic.ca/~mdadams/jasper/software/$($(PKG)_FILE)
|
|
|
|
$(PKG)_DEPS := gcc jpeg
|
2009-02-28 21:44:12 +00:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2012-05-08 16:16:05 +01:00
|
|
|
$(WGET) -q -O- 'http://www.ece.uvic.ca/~mdadams/jasper/' | \
|
2009-02-28 21:44:12 +00:00
|
|
|
grep 'jasper-' | \
|
|
|
|
$(SED) -n 's,.*jasper-\([0-9][^>]*\)\.zip.*,\1,p' | \
|
|
|
|
head -1
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && ./configure \
|
2013-12-20 10:45:29 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
2009-02-28 21:44:12 +00:00
|
|
|
--enable-libjpeg \
|
|
|
|
--disable-opengl \
|
|
|
|
--without-x
|
2013-12-20 10:45:29 +00:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= LDFLAGS="-no-undefined"
|
2009-02-28 21:44:12 +00:00
|
|
|
endef
|