Mercurial > mxe-octave
annotate src/openssl.mk @ 1027:58c4936766cc
upgrade package openssl
Removed patch and sed hacks that seem obsolete.
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Thu, 03 Jun 2010 22:06:03 +0200 |
parents | 4fef75e26b44 |
children | dd28c487a6b1 |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
558
diff
changeset
|
1 # This file is part of mingw-cross-env. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
2 # See doc/index.html for further information. |
530
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 # openssl |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 PKG := openssl |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 $(PKG)_IGNORE := |
1027 | 7 $(PKG)_VERSION := 1.0.0a |
8 $(PKG)_CHECKSUM := b837a9f75a51f456bd533690cf04d3d5714812dc | |
530
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := openssl-$($(PKG)_VERSION) |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 $(PKG)_FILE := openssl-$($(PKG)_VERSION).tar.gz |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 $(PKG)_WEBSITE := http://www.openssl.org/ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 $(PKG)_URL := http://www.openssl.org/source/$($(PKG)_FILE) |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 $(PKG)_URL_2 := ftp://ftp.openssl.org/source/$($(PKG)_FILE) |
558
6957b466d45a
add missing dependency libgcrypt to package openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
557
diff
changeset
|
14 $(PKG)_DEPS := gcc zlib libgcrypt |
530
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 define $(PKG)_UPDATE |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 wget -q -O- 'http://www.openssl.org/source/' | \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 grep '<a href="openssl-' | \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 $(SED) -n 's,.*openssl-\([0-9][0-9a-z.]*\)\.tar.*,\1,p' | \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 head -1 |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 endef |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 define $(PKG)_BUILD |
1027 | 24 # although ws3_32 is used, winsock 1 headers are still referenced |
557
ca50d0553062
use winsock2 instead of winsock in packages freetds and openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
556
diff
changeset
|
25 find '$(1)' -type f -exec \ |
759
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
26 $(SED) -i 's,winsock\.h,winsock2.h,g' {} \; |
557
ca50d0553062
use winsock2 instead of winsock in packages freetds and openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
556
diff
changeset
|
27 |
530
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 cd '$(1)' && CC='$(TARGET)-gcc' ./Configure \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 mingw \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 zlib \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 no-shared \ |
848 | 32 no-capieng \ |
530
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
33 --prefix='$(PREFIX)/$(TARGET)' |
556
cd5388014f49
use "$(MAKE)" instead of "make" in package openssl (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
535
diff
changeset
|
34 $(MAKE) -C '$(1)' install -j 1 \ |
530
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
35 CC='$(TARGET)-gcc' \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 RANLIB='$(TARGET)-ranlib' \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
37 AR='$(TARGET)-ar rcu' |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
38 endef |