Mercurial > mxe-octave
annotate src/libevent.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 | 47b4b25af34b |
children | f48c5b085a38 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2298
diff
changeset
|
1 # This file is part of MXE. |
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. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
409
diff
changeset
|
3 |
326
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 # libevent |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 PKG := libevent |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
6 $(PKG)_IGNORE := |
2298 | 7 $(PKG)_VERSION := 2.0.18 |
8 $(PKG)_CHECKSUM := 2a2cc87ce1945f43dfa5a5f9575fef3d14a8f57a | |
1095
e878941387e3
upgrade packages curl freetype gcc glew gnutls gst* libarchive libevent libgcrypt pcre sqlite w32api
Mark Brand <mabrand@mabrand.nl>
parents:
1065
diff
changeset
|
9 $(PKG)_SUBDIR := libevent-$($(PKG)_VERSION)-stable |
326
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 $(PKG)_FILE := libevent-$($(PKG)_VERSION)-stable.tar.gz |
2008
b63fee7ffe0c
package libevent: updated website
Mark Brand <mabrand@mabrand.nl>
parents:
2007
diff
changeset
|
11 $(PKG)_WEBSITE := http://libevent.org |
2007 | 12 $(PKG)_URL := https://github.com/downloads/$(PKG)/$(PKG)/$($(PKG)_FILE) |
326
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 $(PKG)_DEPS := gcc |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
2008
b63fee7ffe0c
package libevent: updated website
Mark Brand <mabrand@mabrand.nl>
parents:
2007
diff
changeset
|
16 wget -q -O- 'http://libevent.org/' | \ |
326
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 grep 'libevent-' | \ |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 $(SED) -n 's,.*libevent-\([0-9][^>]*\)-stable\.tar.*,\1,p' | \ |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 head -1 |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 endef |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 cd '$(1)' && ./configure \ |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 --host='$(TARGET)' \ |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 --disable-shared \ |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 --prefix='$(PREFIX)/$(TARGET)' |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 $(MAKE) -C '$(1)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= defexec_DATA= |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 endef |