summaryrefslogtreecommitdiffstats
path: root/rules/host-lzop.make
blob: 08e0a20050d05ec635437d6f3c669f71f9ee6ac2 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*-makefile-*-
#
# Copyright (C) 2010, 2011 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_LZOP) += host-lzop

#
# Paths and names
#
HOST_LZOP_VERSION	:= 1.03
HOST_LZOP_MD5		:= 006c5e27fb78cdd14a628fdfa5aa1905
HOST_LZOP		:= lzop-$(HOST_LZOP_VERSION)
HOST_LZOP_SUFFIX	:= tar.gz
HOST_LZOP_URL		:= http://www.lzop.org/download/$(HOST_LZOP).$(HOST_LZOP_SUFFIX)
HOST_LZOP_SOURCE	:= $(SRCDIR)/$(HOST_LZOP).$(HOST_LZOP_SUFFIX)
HOST_LZOP_DIR		:= $(HOST_BUILDDIR)/$(HOST_LZOP)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

HOST_LZOP_CONF_TOOL	:= autoconf

# This is needed to pass configure check with host-gcc 6.1
# Otherwise, we get "error: ACC conformance test failed"
HOST_LZOP_CFLAGS	:= -std=c90 -fPIC

# vim: syntax=make