summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-08-28 13:23:14 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-08-28 13:23:14 +0000
commitbf8bfbdcfdd38c14db8b7c293ccc3138bdea3756 (patch)
treed18a48ff087a1edd7251ef969e8b4a54cbc42257 /dev-libs/libmemcache/libmemcache-1.2.4.ebuild
parentAdded ~mips. (diff)
downloadgentoo-2-bf8bfbdcfdd38c14db8b7c293ccc3138bdea3756.tar.gz
gentoo-2-bf8bfbdcfdd38c14db8b7c293ccc3138bdea3756.tar.bz2
gentoo-2-bf8bfbdcfdd38c14db8b7c293ccc3138bdea3756.zip
Initial commit.
(Portage version: 1.589-cvs)
Diffstat (limited to 'dev-libs/libmemcache/libmemcache-1.2.4.ebuild')
-rw-r--r--dev-libs/libmemcache/libmemcache-1.2.4.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/libmemcache/libmemcache-1.2.4.ebuild b/dev-libs/libmemcache/libmemcache-1.2.4.ebuild
new file mode 100644
index 000000000000..0a3e951427b4
--- /dev/null
+++ b/dev-libs/libmemcache/libmemcache-1.2.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcache/libmemcache-1.2.4.ebuild,v 1.1 2005/08/28 13:23:14 ka0ttic Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="C API for memcached"
+HOMEPAGE="http://people.freebsd.org/~seanc/libmemcache/"
+SRC_URI="http://people.freebsd.org/~seanc/libmemcache/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86"
+IUSE=""
+
+RDEPEND="net-misc/memcached"
+
+doit() {
+ echo "$@"
+ $@
+}
+
+src_compile() {
+ doit $(tc-getCC) ${CFLAGS} -fPIC -c memcache.c || die
+ doit $(tc-getCC) ${CFLAGS} -shared -o libmemcache.so.${PV%.*} \
+ memcache.o || die
+}
+
+src_install() {
+ insinto /usr/include
+ doins memcache.h || die
+
+ dolib.so libmemcache.so.${PV%.*} || die
+
+ dosym /usr/lib/libmemcache.so.${PV%.*} /usr/lib/libmemcache.so
+
+ doman memcache.4
+ dodoc ChangeLog COPYING INSTALL
+}