]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - lfs/IO-Socket-SSL
Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next
[people/teissler/ipfire-2.x.git] / lfs / IO-Socket-SSL
CommitLineData
f98766eb
EK
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6###############################################################################
7# Definitions
8###############################################################################
9
10include Config
11
12VER = 1.78
13
14THISAPP = IO-Socket-SSL-$(VER)
15DL_FILE = $(THISAPP).tar.gz
16DL_FROM = http://cpan.noris.de/authors/id/S/SU/SULLR/
17DIR_APP = $(DIR_SRC)/$(THISAPP)
18TARGET = $(DIR_INFO)/$(THISAPP)
19
20###############################################################################
21# Top-level Rules
22###############################################################################
23
24objects = $(DL_FILE)
25
26$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
27
28$(DL_FILE)_MD5 = 172201f3ebc400dc3733a0577ac29095
29
30install : $(TARGET)
31
32check : $(patsubst %,$(DIR_CHK)/%,$(objects))
33
34download :$(patsubst %,$(DIR_DL)/%,$(objects))
35
36md5 : $(subst %,%_MD5,$(objects))
37
38###############################################################################
39# Downloading, checking, md5sum
40###############################################################################
41
42$(patsubst %,$(DIR_CHK)/%,$(objects)) :
43 @$(CHECK)
44
45$(patsubst %,$(DIR_DL)/%,$(objects)) :
46 @$(LOAD)
47
48$(subst %,%_MD5,$(objects)) :
49 @$(MD5)
50
51###############################################################################
52# Installation Details
53###############################################################################
54
55$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
56 @$(PREBUILD)
57 @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
58 cd $(DIR_APP) && perl Makefile.PL
59 cd $(DIR_APP) && make
60 cd $(DIR_APP) && make install
61 @rm -rf $(DIR_APP)
62 @$(POSTBUILD)