Mercurial > mxe-octave
annotate src/nettle.mk @ 2333:f653602a0500
Rebrand to new project name MXE
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 28 Mar 2012 15:46:58 +0200 |
parents | c33580e28818 |
children | f48c5b085a38 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2312
diff
changeset
|
1 # This file is part of MXE. |
2056 | 2 # See doc/index.html for further information. |
3 | |
4 # nettle | |
5 PKG := nettle | |
6 $(PKG)_IGNORE := | |
7 $(PKG)_VERSION := 2.4 | |
8 $(PKG)_CHECKSUM := 1df0cd013e83f73b78a5521411a67e331de3dfa6 | |
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_WEBSITE := http://www.lysator.liu.se/~nisse/nettle/ | |
12 $(PKG)_URL := http://www.lysator.liu.se/~nisse/archive/$($(PKG)_FILE) | |
13 $(PKG)_DEPS := gcc gmp | |
14 | |
15 define $(PKG)_UPDATE | |
2086
009e1aaa8949
packages libffi nettle: fix update macro
Mark Brand <mabrand@mabrand.nl>
parents:
2056
diff
changeset
|
16 wget -q -O- 'http://www.lysator.liu.se/~nisse/archive/' | \ |
009e1aaa8949
packages libffi nettle: fix update macro
Mark Brand <mabrand@mabrand.nl>
parents:
2056
diff
changeset
|
17 $(SED) -n 's,.*nettle-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
2312
c33580e28818
package nettle: fix update macro
Tony Theodore <tonyt@logyst.com>
parents:
2086
diff
changeset
|
18 grep -v 'pre' | \ |
2086
009e1aaa8949
packages libffi nettle: fix update macro
Mark Brand <mabrand@mabrand.nl>
parents:
2056
diff
changeset
|
19 tail -1 |
2056 | 20 endef |
21 | |
22 define $(PKG)_BUILD | |
23 cd '$(1)' && ./configure \ | |
24 --host='$(TARGET)' \ | |
25 --enable-static \ | |
26 --disable-shared \ | |
27 --prefix='$(PREFIX)/$(TARGET)' | |
28 $(MAKE) -C '$(1)' -j '$(JOBS)' install | |
29 endef |