blob: 58535178bbfdae8debbadf61aa37c21e098d4ee8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# libevent
PKG := libevent
$(PKG)_VERSION := 1.4.12
$(PKG)_CHECKSUM := ad5013cf5646e6fc6d0b832c0284b35086250c8b
$(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
|