Mercurial > mxe-octave
annotate src/libevent.mk @ 2349:f48c5b085a38
Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 11:07:07 +0200 |
parents | f653602a0500 |
children | 99516e73b368 |
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)_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
|
8 $(PKG)_SUBDIR := libevent-$($(PKG)_VERSION)-stable |
326
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_FILE := libevent-$($(PKG)_VERSION)-stable.tar.gz |
2007 | 10 $(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
|
11 $(PKG)_DEPS := gcc |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
2008
b63fee7ffe0c
package libevent: updated website
Mark Brand <mabrand@mabrand.nl>
parents:
2007
diff
changeset
|
14 wget -q -O- 'http://libevent.org/' | \ |
326
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 grep 'libevent-' | \ |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 $(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
|
17 head -1 |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 cd '$(1)' && ./configure \ |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 --host='$(TARGET)' \ |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 --disable-shared \ |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 --prefix='$(PREFIX)/$(TARGET)' |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 $(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
|
26 endef |