Mercurial > mxe-octave
annotate src/openssl.mk @ 714:29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 08 Feb 2010 00:58:06 +0100 |
parents | dab071eac9c0 |
children | bf4bcb3370fa |
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 := |
535
518a59760376
update version of packages curl, fltk, gnutls, gtk, libntlm, openssl, sdl_mixer, sqlite and tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
530
diff
changeset
|
7 $(PKG)_VERSION := 0.9.8l |
518a59760376
update version of packages curl, fltk, gnutls, gtk, libntlm, openssl, sdl_mixer, sqlite and tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
530
diff
changeset
|
8 $(PKG)_CHECKSUM := d3fb6ec89532ab40646b65af179bb1770f7ca28f |
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 |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 # workarounds according to |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 # http://wagner.pp.ru/~vitus/articles/openssl-mingw.html |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 $(SED) 's,^$$IsMK1MF=1.*,,' -i '$(1)'/Configure |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 $(SED) 's,static type _hide_##name,type _hide_##name,' -i '$(1)'/e_os2.h |
557
ca50d0553062
use winsock2 instead of winsock in packages freetds and openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
556
diff
changeset
|
28 |
ca50d0553062
use winsock2 instead of winsock in packages freetds and openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
556
diff
changeset
|
29 # use winsock2 instead of winsock |
ca50d0553062
use winsock2 instead of winsock in packages freetds and openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
556
diff
changeset
|
30 $(SED) 's,wsock32,ws2_32,g' -i '$(1)'/Configure |
ca50d0553062
use winsock2 instead of winsock in packages freetds and openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
556
diff
changeset
|
31 find '$(1)' -type f -exec \ |
ca50d0553062
use winsock2 instead of winsock in packages freetds and openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
556
diff
changeset
|
32 $(SED) 's,winsock\.h,winsock2.h,g' -i {} \; |
ca50d0553062
use winsock2 instead of winsock in packages freetds and openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
556
diff
changeset
|
33 |
530
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 cd '$(1)' && CC='$(TARGET)-gcc' ./Configure \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
35 mingw \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 zlib \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
37 no-shared \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
38 --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
|
39 $(MAKE) -C '$(1)' install -j 1 \ |
530
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
40 CC='$(TARGET)-gcc' \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
41 RANLIB='$(TARGET)-ranlib' \ |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
42 AR='$(TARGET)-ar rcu' |
154d7dc4581a
new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
43 endef |