blob: eb8113a3de378499f518055060c06f57ecd1c3f2 (
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
|
# 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
|