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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# -*-makefile-*-
#
# Copyright (C) 2010 by NovaTech-LLC
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_MEMCACHED) += memcached
#
# Paths and names
#
MEMCACHED_VERSION := 1.4.13
MEMCACHED_MD5 := 6d18c6d25da945442fcc1187b3b63b7f
MEMCACHED := memcached-$(MEMCACHED_VERSION)
MEMCACHED_SUFFIX := tar.gz
MEMCACHED_URL := \
https://www.memcached.org/files/$(MEMCACHED).$(MEMCACHED_SUFFIX) \
https://www.memcached.org/files/old/$(MEMCACHED).$(MEMCACHED_SUFFIX)
MEMCACHED_SOURCE := $(SRCDIR)/$(MEMCACHED).$(MEMCACHED_SUFFIX)
MEMCACHED_DIR := $(BUILDDIR)/$(MEMCACHED)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
MEMCACHED_ENV := \
$(CROSS_ENV) \
ac_cv_c_alignment=need \
ac_cv_c_endian=$(call ptx/ifdef, PTXCONF_ENDIAN_LITTLE, little, big)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/memcached.targetinstall:
@$(call targetinfo)
@$(call install_init, memcached)
@$(call install_fixup, memcached, PRIORITY, optional)
@$(call install_fixup, memcached, SECTION, base)
@$(call install_fixup, memcached, AUTHOR,"NovaTech-LLC")
@$(call install_fixup, memcached, DESCRIPTION, missing)
@$(call install_copy, memcached, 0, 0, 0755, -, /usr/bin/memcached)
@$(call install_finish, memcached)
@$(call touch)
# vim: syntax=make
|