Mercurial > mxe-octave
annotate src/libevent.mk @ 2007:ee2cb33fb924
update package libevent
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Wed, 28 Sep 2011 01:08:09 +0200 |
parents | bda30c2eb1f4 |
children | b63fee7ffe0c |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
569
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. |
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 := |
2007 | 7 $(PKG)_VERSION := 2.0.14 |
8 $(PKG)_CHECKSUM := b52b466f5a418744faf5f12b0fe3877cb7fb0b6e | |
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 |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 $(PKG)_WEBSITE := http://monkey.org/~provos/libevent/ |
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 |
e0ace807c219
new package: libevent (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 wget -q -O- 'http://www.monkey.org/~provos/libevent/' | \ |
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 |