source: packages/net/memcached/Makefile @ 20398

Last change on this file since 20398 was 20398, checked in by swalker, 6 years ago

[packages] add missing & update current urls

File size: 1.4 KB
Line 
1#
2# Copyright (C) 2009-2010 Thomas Heil <heil@terminal-consulting.de>
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=memcached
10PKG_VERSION:=1.2.6
11PKG_RELEASE:=1
12
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14PKG_SOURCE_URL:=http://memcached.googlecode.com/files
15PKG_MD5SUM:=200d22f7ac2d114f74a6904552e9eb70
16
17include $(INCLUDE_DIR)/package.mk
18
19define Package/memcached
20  SECTION:=net
21  CATEGORY:=Network
22  DEPENDS:=+libevent
23  TITLE:=The high-performance, distributed memory object caching system
24  MAINTAINER:=Thomas Heil <heil@terminal-consulting.de>
25  URL:=http://memcached.org/
26endef
27
28define Package/memcached/description
29  Free and open source, high-performance, distributed memory object caching system
30endef
31
32define Package/memcached/conffiles
33/etc/config/memcached
34endef
35
36ifeq ($(CONFIG_BIG_ENDIAN),y)
37CONFIGURE_VARS += ac_cv_c_endian=big
38else
39CONFIGURE_VARS += ac_cv_c_endian=little
40endif
41
42CONFIGURE_ARGS += \
43        --disable-docs \
44        --disable-dtrace \
45        --disable-sasl
46
47define Package/memcached/install
48        $(INSTALL_DIR) $(1)/usr/bin
49        $(INSTALL_BIN) $(PKG_BUILD_DIR)/memcached $(1)/usr/bin/
50        $(INSTALL_DIR) $(1)/etc/config
51        $(INSTALL_CONF) ./files/memcached.config $(1)/etc/config/memcached
52        $(INSTALL_DIR) $(1)/etc/init.d
53        $(INSTALL_BIN) ./files/memcached.init $(1)/etc/init.d/memcached
54endef
55
56$(eval $(call BuildPackage,memcached))
Note: See TracBrowser for help on using the repository browser.