define Package/memcached
SECTION:=net
CATEGORY:=Network
- DEPENDS:=+libevent2 +libpthread
+ DEPENDS:=+libevent +libpthread
TITLE:=The high-performance, distributed memory object caching system
MAINTAINER:=Thomas Heil <heil@terminal-consulting.de>
URL:=http://memcached.org/
endif
CONFIGURE_ARGS += \
+ --with-libevent=$(STAGING_DIR)/usr/include/libevent \
--disable-docs \
--disable-dtrace \
--disable-coverage \
TARGET_CFLAGS += \
-std=gnu99
+TARGET_LDFLAGS += \
+ -L$(STAGING_DIR)/usr/lib/libevent
+
define Package/memcached/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/memcached $(1)/usr/bin/