annotate src/openssl.mk @ 2365:b5321bdec505

Move full package names from src/*.mk into package list (index.html)
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 21:41:44 +0200
parents 99516e73b368
children 1a849490ce87
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2279
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.
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 PKG := openssl
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
2279
17099fd15d61 update package openssl
Mark Brand <mabrand@mabrand.nl>
parents: 2275
diff changeset
6 $(PKG)_CHECKSUM := a6476d33fd38c2e7dfb438d1e3be178cc242c907
530
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_SUBDIR := openssl-$($(PKG)_VERSION)
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_FILE := openssl-$($(PKG)_VERSION).tar.gz
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_URL := http://www.openssl.org/source/$($(PKG)_FILE)
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(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
11 $(PKG)_DEPS := gcc zlib libgcrypt
530
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 wget -q -O- 'http://www.openssl.org/source/' | \
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 $(SED) -n 's,.*openssl-\([0-9][0-9a-z.]*\)\.tar.*,\1,p' | \
1033
dd28c487a6b1 improved version recognition of packages: boost freetype gcc glew libgee mingwrt openssl pcre pdcurses w32api wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 1027
diff changeset
16 grep -v '^0\.9\.' | \
530
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 head -1
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 endef
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 define $(PKG)_BUILD
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 cd '$(1)' && CC='$(TARGET)-gcc' ./Configure \
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 mingw \
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 zlib \
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 no-shared \
848
4fef75e26b44 upgrade package openssl
Mark Brand <mabrand@mabrand.nl>
parents: 820
diff changeset
25 no-capieng \
530
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --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
27 $(MAKE) -C '$(1)' install -j 1 \
530
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 CC='$(TARGET)-gcc' \
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 RANLIB='$(TARGET)-ranlib' \
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 AR='$(TARGET)-ar rcu'
154d7dc4581a new package: openssl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 endef