blob: da67b61b3b68d81db2745ed7153bd2bd31bbda36 (
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
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
66
67
68
69
70
71
72
73
74
75
|
################################################################################
# Embtoolkit
# Copyright(C) 2009-2011 Abdoulaye Walsimou GAYE.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
#
# \file lzo.mk
# \brief lzo.mk of Embtoolkit
# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date December 2009
################################################################################
LZO_NAME := lzo
LZO_VERSION := $(call EMBTK_GET_PKG_VERSION,LZO)
LZO_SITE := http://www.oberhumer.com/opensource/lzo/download
LZO_SITE_MIRROR3 := ftp://ftp.embtoolkit.org/embtoolkit.org/packages-mirror
LZO_PATCH_SITE := ftp://ftp.embtoolkit.org/embtoolkit.org/lzo/$(LZO_VERSION)
LZO_PACKAGE := lzo-$(LZO_VERSION).tar.gz
LZO_SRC_DIR := $(PACKAGES_BUILD)/lzo-$(LZO_VERSION)
LZO_BUILD_DIR := $(PACKAGES_BUILD)/lzo-$(LZO_VERSION)
LZO_BINS =
LZO_SBINS =
LZO_INCLUDES = lzo
LZO_LIBS = liblzo2.*
LZO_LIBEXECS =
LZO_PKGCONFIGS =
LZO_CONFIGURE_ENV :=
LZO_CONFIGURE_OPTS :=
LZO_DEPS :=
lzo_install:
$(call EMBTK_INSTALL_PKG,LZO)
lzo_clean:
$(call EMBTK_CLEANUP_PKG,LZO)
#
# lzo common targets
#
download_lzo download_lzo_host:
$(call EMBTK_DOWNLOAD_PKG,LZO)
#
# LZO for host development machine
#
LZO_HOST_NAME := $(LZO_NAME)
LZO_HOST_VERSION := $(LZO_VERSION)
LZO_HOST_SITE := $(LZO_SITE)
LZO_HOST_SITE_MIRROR1 := $(LZO_SITE_MIRROR1)
LZO_HOST_SITE_MIRROR2 := $(LZO_SITE_MIRROR2)
LZO_HOST_SITE_MIRROR3 := $(LZO_SITE_MIRROR3)
LZO_HOST_PATCH_SITE := $(LZO_PATCH_SITE)
LZO_HOST_PACKAGE := $(LZO_PACKAGE)
LZO_HOST_SRC_DIR := $(TOOLS_BUILD)/lzo-$(LZO_VERSION)
LZO_HOST_BUILD_DIR := $(TOOLS_BUILD)/lzo-$(LZO_VERSION)
lzo_host_install:
$(call EMBTK_INSTALL_HOSTPKG,LZO_HOST)
|