comparison src/nettle.mk @ 2655:769024253d0e

update package nettle
author Mark Brand <mabrand@mabrand.nl>
date Sun, 08 Jul 2012 22:46:25 +0200
parents 4d0f3a9da57e
children 47558e958113
comparison
equal deleted inserted replaced
2654:79cd22aec344 2655:769024253d0e
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 PKG := nettle 4 PKG := nettle
5 $(PKG)_IGNORE := 5 $(PKG)_IGNORE :=
6 $(PKG)_CHECKSUM := 1df0cd013e83f73b78a5521411a67e331de3dfa6 6 $(PKG)_CHECKSUM := 1061754feb69dd01354525fa7eb6154b28ac887d
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz 8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
9 $(PKG)_URL := http://www.lysator.liu.se/~nisse/archive/$($(PKG)_FILE) 9 $(PKG)_URL := http://www.lysator.liu.se/~nisse/archive/$($(PKG)_FILE)
10 $(PKG)_DEPS := gcc gmp 10 $(PKG)_DEPS := gcc gmp
11 11
17 endef 17 endef
18 18
19 define $(PKG)_BUILD 19 define $(PKG)_BUILD
20 cd '$(1)' && ./configure \ 20 cd '$(1)' && ./configure \
21 --host='$(TARGET)' \ 21 --host='$(TARGET)' \
22 --enable-static \ 22 --build="`config.guess`" \
23 --disable-shared \ 23 --disable-shared \
24 --prefix='$(PREFIX)/$(TARGET)' 24 --prefix='$(PREFIX)/$(TARGET)'
25 $(MAKE) -C '$(1)' -j '$(JOBS)' getopt.o getopt1.o
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install 26 $(MAKE) -C '$(1)' -j '$(JOBS)' install
26 endef 27 endef