|
Ä¿ÇÇÇâÀÌ ³ª´Â *NIX
Ä¿ÇǴнº
½Ã½ºÅÛ/³×Æ®¿÷/º¸¾ÈÀ» ´Ù·ç´Â °÷
|
|
|
|
ÀÌÀü ÁÖÁ¦ º¸±â :: ´ÙÀ½ ÁÖÁ¦ º¸±â |
±Û¾´ÀÌ |
¸Þ½ÃÁö |
sCag ¼Õ´Ô
|
¿Ã·ÁÁü: 2010.2.04 ¸ñ, 5:45 pm ÁÖÁ¦: repcached ebuild ÀÔ´Ï´Ù. |
|
|
Memcache´Â portage¿¡ ÀÖÁö¸¸ repcached°¡ ¾ø³»¿ä
patchÀû¿ëÀÌ ¸¹¾Æ¼? epatchÀû¿ë ¾ÈÇÏ°í ebuild·Î ¸¸µé¾ú³×¿ä.
³»¿ëÀº °ÅÀÇ memcached ºôµå¶û »óÅë ÇÕ´Ï´Ù.
overlay¸¸µå½Ã°í °æ·Î ¶È°°ÀÌ ÇϽðí.
mkdir -p /usr/local/portage/net-misc/repcached/
Çϼż repcahed-1.2.6.ebuild Á¤µµ·Î ÀúÀåÇϽðí make.conf¿¡ overlay
Àû¾îÁֽðí emerge ÇÏ½Ã¸é µË´Ï´Ù.
cd /usr/local/portage/net-misc/repcached¿¡ °¡¼Å¼
ebuild repcached-1.2.6.ebuild digestÇѹø ÇØÁÖ¼Å¾ß ÇÕ´Ï´Ù.
USE·Î´Â ¾Æ·¡¿¡ ÀÖµíÀÌ threads¿Í replicationÀÌ ÀÖ½À´Ï´Ù.
repcached°¡ ¾îÂ¥ÇÇ replicationÀ» ÇÏ´Â°Å´Ï ÈåÈå..
memcached¸¸ ¾²½ÇºÐµéÀº ±×³É À̸Ó¡ ÇÏ½Ã°í ¸®Çø®ÄÉÀÌ¼Ç ÇϽǺеéÀº
USE¿¡ ½áÁÖ½Ã¸é µÇ°ÎÁÒ?
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: repcached-1.2.6$
# Build by sCag
inherit eutils
DESCRIPTION="High-performance, distributed memory object caching system and replication."
HOMEPAGE="http://lab.klab.org/wiki/Repcached"
SRC_URI="http://downloads.sourceforge.net/repcached/memcached-${PV}-${PN}-2.2.tar.gz"
LICENSE="GPL"
SLOT="0"
KEYWORDS="x86"
IUSE="nptl threads replication"
RDEPEND=">=dev-libs/libevent-1.4
dev-lang/perl"
DEPEND="${RDEPEND}
test? ( virtual/perl-Test-Harness >=dev-perl/Cache-Memcached-1.24 )"
S="${WORKDIR}/memcached-${PV}-repcached-2.2"
src_unpack() {
unpack ${A}
cd "${S}"
}
src_compile() {
econf $(use_enable nptl threads) $(use_enable replication) || die
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
} |
|
À§·Î |
|
|
|
|
»õ·Î¿î ÁÖÁ¦¸¦ ¿Ã¸± ¼ö ÀÖ½À´Ï´Ù ´ä±ÛÀ» ¿Ã¸± ¼ö ÀÖ½À´Ï´Ù ÁÖÁ¦¸¦ ¼öÁ¤ÇÒ ¼ö ¾ø½À´Ï´Ù ¿Ã¸° ±ÛÀ» »èÁ¦ÇÒ ¼ö ¾ø½À´Ï´Ù ÅõÇ¥¸¦ ÇÒ ¼ö ¾ø½À´Ï´Ù
|
Powered by phpBB © 2001, 2005 phpBB Group
|