~vcs-imports/ipfire/ipfire-2.x

« back to all changes in this revision

Viewing changes to lfs/libxml2

  • Committer: Daniel Glanzmann
  • Date: 2008-09-26 17:05:28 UTC
  • mto: (1394.1.12)
  • mto: This revision was merged to the branch mainline in revision 1401.
  • Revision ID: git-v1:19ac4d1b6e234e1391b3d406381e3b74e92c40dd
added new useragent thunderbird

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
###############################################################################
2
2
#                                                                             #
3
3
# IPFire.org - A linux based firewall                                         #
4
 
# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
 
4
# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
5
5
#                                                                             #
6
6
# This program is free software: you can redistribute it and/or modify        #
7
7
# it under the terms of the GNU General Public License as published by        #
24
24
 
25
25
include Config
26
26
 
27
 
VER        = 2.11.4
 
27
VER        = 2.6.26
28
28
 
29
29
THISAPP    = libxml2-$(VER)
30
 
DL_FILE    = $(THISAPP).tar.xz
 
30
DL_FILE    = $(THISAPP).tar.gz
31
31
DL_FROM    = $(URL_IPFIRE)
32
32
DIR_APP    = $(DIR_SRC)/$(THISAPP)
33
33
TARGET     = $(DIR_INFO)/$(THISAPP)
34
34
 
35
 
CFLAGS    += -fno-strict-aliasing
36
 
 
37
35
###############################################################################
38
36
# Top-level Rules
39
37
###############################################################################
42
40
 
43
41
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
44
42
 
45
 
$(DL_FILE)_BLAKE2 = 5d7e6388291a8473195131f5cb22aee9a4182f28fd8eed468c449b762d363cfb1713a7466c1f98e96cf819ed8f78e13a6ba930c2fadd8d63869b6efe8e8be8a8
 
43
$(DL_FILE)_MD5 = 2d8d3805041edab967368b497642f981
46
44
 
47
45
install : $(TARGET)
48
46
 
50
48
 
51
49
download :$(patsubst %,$(DIR_DL)/%,$(objects))
52
50
 
53
 
b2 : $(subst %,%_BLAKE2,$(objects))
 
51
md5 : $(subst %,%_MD5,$(objects))
54
52
 
55
53
###############################################################################
56
 
# Downloading, checking, b2sum
 
54
# Downloading, checking, md5sum
57
55
###############################################################################
58
56
 
59
57
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
62
60
$(patsubst %,$(DIR_DL)/%,$(objects)) :
63
61
        @$(LOAD)
64
62
 
65
 
$(subst %,%_BLAKE2,$(objects)) :
66
 
        @$(B2SUM)
 
63
$(subst %,%_MD5,$(objects)) :
 
64
        @$(MD5)
67
65
 
68
66
###############################################################################
69
67
# Installation Details
71
69
 
72
70
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
73
71
        @$(PREBUILD)
74
 
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
75
 
        $(UPDATE_AUTOMAKE)
76
 
        cd $(DIR_APP) && ./configure            \
77
 
                        --prefix=/usr           \
78
 
                        --disable-static        \
79
 
                        --with-history          \
80
 
                        --without-python
 
72
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 
73
        cd $(DIR_APP) && ./configure --prefix=/usr
81
74
        cd $(DIR_APP) && make $(MAKETUNING)
82
75
        cd $(DIR_APP) && make install
83
76
        @rm -rf $(DIR_APP)