diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-07-26 23:50:53 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-07-26 23:50:53 (GMT) |
commit | aedb3a1446b93be5d888871e18c9e3a8d7bc2835 (patch) | |
tree | 41b77ba3663d8a05a75b569c239c4d17b2046a65 /src | |
parent | 0ce41446fa5c77341e429040025984508a44d821 (diff) | |
parent | f88188fabd2ef4b46e0e20c021350452d9875b58 (diff) | |
download | mxe-aedb3a1446b93be5d888871e18c9e3a8d7bc2835.zip mxe-aedb3a1446b93be5d888871e18c9e3a8d7bc2835.tar.gz mxe-aedb3a1446b93be5d888871e18c9e3a8d7bc2835.tar.bz2 |
Merge pull request #762 from tehnick/libjpeg-turbo
Add package libjpeg-turbo
Diffstat (limited to 'src')
-rw-r--r-- | src/libjpeg-turbo.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/libjpeg-turbo.mk b/src/libjpeg-turbo.mk new file mode 100644 index 0000000..5eb2285 --- /dev/null +++ b/src/libjpeg-turbo.mk @@ -0,0 +1,24 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := libjpeg-turbo +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.4.1 +$(PKG)_CHECKSUM := 363a149f644211462c45138a19674f38100036d3 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc yasm + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://sourceforge.net/projects/$(PKG)/files/' | \ + $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + $(SED) -i 's,yasm,$(TARGET)-yasm,g' '$(1)/configure' + cd '$(1)' && ./configure \ + $(MXE_CONFIGURE_OPTS) + $(MAKE) -C '$(1)' -j '$(JOBS)' install +endef |