Mercurial > mxe-octave
annotate 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 |
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. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
2056 | 3 |
4 PKG := nettle | |
5 $(PKG)_IGNORE := | |
2655 | 6 $(PKG)_CHECKSUM := 1061754feb69dd01354525fa7eb6154b28ac887d |
2056 | 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://www.lysator.liu.se/~nisse/archive/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := gcc gmp | |
11 | |
12 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
13 $(WGET) -q -O- 'http://www.lysator.liu.se/~nisse/archive/' | \ |
2086
009e1aaa8949
packages libffi nettle: fix update macro
Mark Brand <mabrand@mabrand.nl>
parents:
2056
diff
changeset
|
14 $(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
|
15 grep -v 'pre' | \ |
2086
009e1aaa8949
packages libffi nettle: fix update macro
Mark Brand <mabrand@mabrand.nl>
parents:
2056
diff
changeset
|
16 tail -1 |
2056 | 17 endef |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
21 --host='$(TARGET)' \ | |
2655 | 22 --build="`config.guess`" \ |
2056 | 23 --disable-shared \ |
24 --prefix='$(PREFIX)/$(TARGET)' | |
2655 | 25 $(MAKE) -C '$(1)' -j '$(JOBS)' getopt.o getopt1.o |
2056 | 26 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
27 endef |