1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# -*-makefile-*-
#
# Copyright (C) 2002-2007 by Pengutronix e.K., Hildesheim, Germany
# 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_ZLIB) += zlib
#
# Paths and names
#
ZLIB_VERSION := 1.2.11
ZLIB_MD5 := 85adef240c5f370b308da8c938951a68
ZLIB := zlib-$(ZLIB_VERSION)
ZLIB_SUFFIX := tar.xz
ZLIB_URL := \
http://zlib.net/$(ZLIB).$(ZLIB_SUFFIX) \
$(call ptx/mirror, SF, libpng/$(ZLIB).$(ZLIB_SUFFIX))
ZLIB_SOURCE := $(SRCDIR)/$(ZLIB).$(ZLIB_SUFFIX)
ZLIB_DIR := $(BUILDDIR)/$(ZLIB)
ZLIB_LICENSE := Zlib
ZLIB_LICENSE_FILES := file://README;md5=0ff45db88393c3152e458a047bba0ff1
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
ZLIB_CONF_ENV := \
$(CROSS_ENV) \
CROSS_PREFIX=$(PTXCONF_COMPILER_PREFIX)
#
# autoconf
#
ZLIB_CONF_TOOL := autoconf
ZLIB_CONF_OPT := \
--prefix=/usr \
--uname=Linux \
--libdir=/usr/$(CROSS_LIB_DIR)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/zlib.targetinstall:
@$(call targetinfo)
@$(call install_init, zlib)
@$(call install_fixup, zlib,PRIORITY,optional)
@$(call install_fixup, zlib,SECTION,base)
@$(call install_fixup, zlib,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, zlib,DESCRIPTION,missing)
@$(call install_lib, zlib, 0, 0, 0644, libz)
@$(call install_finish, zlib)
@$(call touch)
# vim: syntax=make
|