Files @ d859c6570d61
Branch filter:

Location: ohnobinki_overlay/dev-php/phpcaptcha/phpcaptcha-2.0.1.ebuild - annotation

d859c6570d61 813 B application/vnd.gentoo.ebuild Show Source Show as Raw Download as Raw
binki
dev-libs/libstrl: Removing libstrl per bug 351941 being fixed, thanks to hwoarang for proxy-maintaining that ebuild for me.
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.3.9.ebuild,v 1.12 2009/11/04 12:12:05 arfrever Exp $

EAPI="2"

inherit eutils

DESCRIPTION="PHP captcha creator and validator library"
HOMEPAGE="http://phpcaptcha.org/"
SRC_URI="mirror://ohnoproto/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

S=${WORKDIR}

src_prepare() {
	epatch "${FILESDIR}"/${P}-pic.patch

	mkdir securimage-doc || die
	mv -v securimage/README* securimage-doc/ || die

	# it's good that the license is distributed, we just don't want to
	# install it below.
	rm -v securimage/LICENSE.txt || die
}

src_install()
{
	insinto /usr/share/php
	doins -r securimage || die

	dodoc securimage-doc/* || die
}