diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-04-16 20:26:57 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-04-16 20:26:57 (GMT) |
commit | 0249846baff7d7480900be995db22c9d0cd98fd8 (patch) | |
tree | 98864218233ad287e0ea5bd49249a02b7c6be526 /src/libevent.mk | |
parent | 08749f48db0ff16144d8f66904a2288f457bf960 (diff) | |
download | mxe-0249846baff7d7480900be995db22c9d0cd98fd8.zip mxe-0249846baff7d7480900be995db22c9d0cd98fd8.tar.gz mxe-0249846baff7d7480900be995db22c9d0cd98fd8.tar.bz2 |
new package: libevent (by Giuseppe Scrivano)
Diffstat (limited to 'src/libevent.mk')
-rw-r--r-- | src/libevent.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/libevent.mk b/src/libevent.mk new file mode 100644 index 0000000..54de959 --- /dev/null +++ b/src/libevent.mk @@ -0,0 +1,25 @@ +# libevent + +PKG := libevent +$(PKG)_VERSION := 1.4.9 +$(PKG)_CHECKSUM := 5033af5ad0ddd9eb16be68e8f91e0c35e7f327c3 +$(PKG)_SUBDIR := libevent-$($(PKG)_VERSION)-stable +$(PKG)_FILE := libevent-$($(PKG)_VERSION)-stable.tar.gz +$(PKG)_WEBSITE := http://monkey.org/~provos/libevent/ +$(PKG)_URL := http://monkey.org/~provos/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + wget -q -O- 'http://www.monkey.org/~provos/libevent/' | \ + grep 'libevent-' | \ + $(SED) -n 's,.*libevent-\([0-9][^>]*\)-stable\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' + $(MAKE) -C '$(1)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= defexec_DATA= +endef |