summaryrefslogtreecommitdiffstats
path: root/contrib/zlib/module.defs
blob: 1cb7ff15f22bc35aed011318e50007831438b53f (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
$(eval $(call import.MODULE.defs,ZLIB,zlib))
$(eval $(call import.CONTRIB.defs,ZLIB))

ZLIB.FETCH.url =  http://download.handbrake.fr/handbrake/contrib/zlib-1.2.3.tar.gz
ZLIB.FETCH.md5 =  af3358a811ad3469a2e54db49f77d52a
ZLIB.EXTRACT.tarbase = zlib

# TODO: Upstream archive differs
#ZLIB.FETCH.url += http://sourceforge.net/projects/libpng/files/zlib/1.2.3/zlib-1.2.3.tar.gz
#ZLIB.FETCH.md5 =  debc62758716a169df9f62e6ab2bc634
#ZLIB.EXTRACT.tarbase = zlib
#
# TODO: zlib >= 1.2.8
#ZLIB.FETCH.url += http://sourceforge.net/projects/libpng/files/zlib/1.2.8/zlib-1.2.8.tar.gz
#ZLIB.FETCH.md5 =  44d667c142d7cda120332623eab69f40
#ZLIB.EXTRACT.tarbase = zlib

ZLIB.CONFIGURE.args = !sete @dir !env !exe @prefix !extra

ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
    ZLIB.CONFIGURE.env.AR     = AR="$(AR.exe) rc"
    ZLIB.CONFIGURE.env.RANLIB = RANLIB="$(RANLIB.exe)"
    ZLIB.CONFIGURE.env.args  += !AR !RANLIB
endif