summaryrefslogtreecommitdiffstats
path: root/contrib/zlib/module.defs
blob: 55daf6d8e6e3c3a8ee7026f9a75e3e2cf343e762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$(eval $(call import.MODULE.defs,ZLIB,zlib))
$(eval $(call import.CONTRIB.defs,ZLIB))

ZLIB.FETCH.url = http://download.m0k.org/handbrake/contrib/zlib-1.2.3.tar.gz
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