diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-12-01 02:59:36 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-12-01 02:59:36 +0000 |
commit | 5d24432ac11678074427fe4dccf9c6413058f99d (patch) | |
tree | 22237cf45c938e1eab327cf7a12a9598b8ab2739 /dev-libs/libmemcache | |
parent | Don't use subdirectories for man, so to install sparc64's utilities in the ri... (diff) | |
download | gentoo-2-5d24432ac11678074427fe4dccf9c6413058f99d.tar.gz gentoo-2-5d24432ac11678074427fe4dccf9c6413058f99d.tar.bz2 gentoo-2-5d24432ac11678074427fe4dccf9c6413058f99d.zip |
Add a revision bump to fix bug #126866:respect LDFLAGS chosen by users and set the proper SONAME.
(Portage version: 2.1.2_rc2-r3)
Diffstat (limited to 'dev-libs/libmemcache')
-rw-r--r-- | dev-libs/libmemcache/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/libmemcache/files/digest-libmemcache-1.2.4-r1 | 3 | ||||
-rw-r--r-- | dev-libs/libmemcache/libmemcache-1.2.4-r1.ebuild | 39 |
3 files changed, 50 insertions, 1 deletions
diff --git a/dev-libs/libmemcache/ChangeLog b/dev-libs/libmemcache/ChangeLog index 363e2eea3aee..b6b80d7e39fa 100644 --- a/dev-libs/libmemcache/ChangeLog +++ b/dev-libs/libmemcache/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/libmemcache # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcache/ChangeLog,v 1.14 2006/11/23 19:52:47 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcache/ChangeLog,v 1.15 2006/12/01 02:59:36 flameeyes Exp $ + +*libmemcache-1.2.4-r1 (01 Dec 2006) + + 01 Dec 2006; Diego Pettenò <flameeyes@gentoo.org> + +libmemcache-1.2.4-r1.ebuild: + Add a revision bump to fix bug #126866:respect LDFLAGS chosen by users and + set the proper SONAME. 23 Nov 2006; Tobias Scherbaum <dertobi123@gentoo.org> libmemcache-1.2.4.ebuild: diff --git a/dev-libs/libmemcache/files/digest-libmemcache-1.2.4-r1 b/dev-libs/libmemcache/files/digest-libmemcache-1.2.4-r1 new file mode 100644 index 000000000000..b1e792454a98 --- /dev/null +++ b/dev-libs/libmemcache/files/digest-libmemcache-1.2.4-r1 @@ -0,0 +1,3 @@ +MD5 1b4dada8c7176fb018b489e09e6964f1 libmemcache-1.2.4.tar.bz2 40861 +RMD160 2c21c3de0e18af34e2f100879e10d714db0a7c3b libmemcache-1.2.4.tar.bz2 40861 +SHA256 c70f857753998106ac7d3542bd15014438270d261da4b3c24279e1db43f24dca libmemcache-1.2.4.tar.bz2 40861 diff --git a/dev-libs/libmemcache/libmemcache-1.2.4-r1.ebuild b/dev-libs/libmemcache/libmemcache-1.2.4-r1.ebuild new file mode 100644 index 000000000000..3cf9bbcc2f0b --- /dev/null +++ b/dev-libs/libmemcache/libmemcache-1.2.4-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 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-r1.ebuild,v 1.1 2006/12/01 02:59:36 flameeyes 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="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~sparc-fbsd ~x86" +IUSE="" + +RDEPEND="net-misc/memcached" + +doit() { + echo "$@" + $@ +} + +src_compile() { + doit $(tc-getCC) ${CFLAGS} -fPIC -c memcache.c || die + doit $(tc-getCC) ${LDFLAGS} -Wl,-soname -Wl,libmemcache.so.${PV%%.*} -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 +} |