Skip to content

Instantly share code, notes, and snippets.

@jbergstroem
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save jbergstroem/9220356 to your computer and use it in GitHub Desktop.

Select an option

Save jbergstroem/9220356 to your computer and use it in GitHub Desktop.
pgmemcache bump
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="A PostgreSQL API based on libmemcached to interface with memcached"
HOMEPAGE="http://pgfoundry.org/projects/pgmemcache https://github.com/ohmu/pgmemcache"
SRC_URI="https://github.com/ohmu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-db/postgresql-base
dev-libs/cyrus-sasl
dev-libs/libmemcached[sasl]"
RDEPEND="${DEPEND}"
DOCS=( NEWS README TODO )
@jbergstroem

Copy link
Copy Markdown
Author

Changelog:

  • use github for downloads (since 2.1.2 doesn't exist on pgfoundry)
  • add github to homepage
  • remove version to postgresql dep
  • remove dep on cyrus-sasl since we're implying it through libmemcached
  • add DOCS

@jbergstroem

Copy link
Copy Markdown
Author

Do we want to slot/install this for different postgresql's? Its perfectly possible.

@jbergstroem

Copy link
Copy Markdown
Author

Suggested approach would be to copy sources for every install of postgresql returned from postgresql-config, then modify sources (sed PG_CONFIG basically) and compile twice

@jbergstroem

Copy link
Copy Markdown
Author

Version 2: We actually need cyrus-sasl since older versions of libmemcached (0.50) uses another sasl library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment