]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/nettle
toolchain: fix full toolchain crossbuild
[ipfire-2.x.git] / lfs / nettle
index 0ea42f343f0b079e65ef36f829abbcced628de46..b48b405e37962c342f99f70b17ea7c432edf6bf5 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2015  IPFire Team  <info@ipfire.org>                          #
 #                                                                             #
 # 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        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 3.0
+VER        = 3.1.1
 
 THISAPP    = nettle-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = f64b1bf1e774b7ae6e507318e340250e
+$(DL_FILE)_MD5 = b40fa88dc32f37a182b6b42092ebb144
 
 install : $(TARGET)
 
@@ -73,7 +73,13 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && ./configure \
                --prefix=/usr \
                --enable-shared
+
        cd $(DIR_APP) && make $(MAKETUNING)
+       cd $(DIR_APP) && sed -i '/^install-here/ s/ install-static//' Makefile
        cd $(DIR_APP) && make install
+
+       chmod -v 755 /usr/lib/lib{hogweed,nettle}.so
+       install -v -m755 -d /usr/share/doc/nettle-3.1.1
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)