diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 20:00:54 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 20:00:54 (GMT) |
commit | 56ed9c8a75cdd2aa245efc29b4ecb9fbc1cacb67 (patch) | |
tree | 5318997ecad04a2fd78e1469a68bf9fa069a03c8 /src/jpeg.mk | |
parent | 4853b650d534b19caaab606a05183dc5847fb741 (diff) | |
download | mxe-56ed9c8a75cdd2aa245efc29b4ecb9fbc1cacb67.zip mxe-56ed9c8a75cdd2aa245efc29b4ecb9fbc1cacb67.tar.gz mxe-56ed9c8a75cdd2aa245efc29b4ecb9fbc1cacb67.tar.bz2 |
translated package: jpeg
Diffstat (limited to 'src/jpeg.mk')
-rw-r--r-- | src/jpeg.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/jpeg.mk b/src/jpeg.mk new file mode 100644 index 0000000..eb8113a --- /dev/null +++ b/src/jpeg.mk @@ -0,0 +1,24 @@ +# jpeg +# http://www.ijg.org/ +# http://packages.debian.org/unstable/source/libjpeg6b + +PKG := jpeg +$(PKG)_VERSION := 6b +$(PKG)_SUBDIR := jpeg-$($(PKG)_VERSION) +$(PKG)_FILE := libjpeg6b_$($(PKG)_VERSION).orig.tar.gz +$(PKG)_URL := http://ftp.debian.org/debian/pool/main/libj/libjpeg6b/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + wget -q -O- 'http://packages.debian.org/unstable/source/libjpeg6b' | \ + $(SED) -n 's,.*libjpeg6b_\([0-9][^>]*\)\.orig\.tar.*,\1,p' | \ + tail -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + CC='$(TARGET)-gcc' RANLIB='$(TARGET)-ranlib' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' + $(MAKE) -C '$(1)' -j '$(JOBS)' install-lib +endef |