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

« back to all changes in this revision

Viewing changes to lfs/smartmontools

  • 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        = 7.4
 
27
VER        = 5.36
28
28
 
29
29
THISAPP    = smartmontools-$(VER)
30
30
DL_FILE    = $(THISAPP).tar.gz
40
40
 
41
41
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
42
42
 
43
 
$(DL_FILE)_BLAKE2 = fbf7888b92b6be4892a206e1c0fae1cb7c45fe0d62270c5fe713a540616e3599c67dd3297ad8c1cd344987e1fe95ae7c5e92db8e13ef622b3316b3780fbb4052
 
43
$(DL_FILE)_MD5 = 2e424f2d35efa38a29ebca419c1dbe3c
44
44
 
45
45
install : $(TARGET)
46
46
 
48
48
 
49
49
download :$(patsubst %,$(DIR_DL)/%,$(objects))
50
50
 
51
 
b2 : $(subst %,%_BLAKE2,$(objects))
 
51
md5 : $(subst %,%_MD5,$(objects))
52
52
 
53
53
###############################################################################
54
 
# Downloading, checking, b2sum
 
54
# Downloading, checking, md5sum
55
55
###############################################################################
56
56
 
57
57
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
60
60
$(patsubst %,$(DIR_DL)/%,$(objects)) :
61
61
        @$(LOAD)
62
62
 
63
 
$(subst %,%_BLAKE2,$(objects)) :
64
 
        @$(B2SUM)
 
63
$(subst %,%_MD5,$(objects)) :
 
64
        @$(MD5)
65
65
 
66
66
###############################################################################
67
67
# Installation Details
70
70
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
71
71
        @$(PREBUILD)
72
72
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
73
 
        cd $(DIR_APP) && autoreconf
74
73
        cd $(DIR_APP) && ./configure --prefix=/usr
75
 
        cd $(DIR_APP) && make BUILD_INFO='"($(NAME) $(VERSION))"' $(MAKETUNING)
 
74
        cd $(DIR_APP) && make $(MAKETUNING)
76
75
        cd $(DIR_APP) && make install
77
76
        @rm -rf $(DIR_APP)
78
77
        @$(POSTBUILD)