###############################################################################
# #
# 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 #
include Config
-VER = 3.0
+VER = 3.1.1
THISAPP = nettle-$(VER)
DL_FILE = $(THISAPP).tar.gz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = f64b1bf1e774b7ae6e507318e340250e
+$(DL_FILE)_MD5 = b40fa88dc32f37a182b6b42092ebb144
install : $(TARGET)
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)