diff options
Diffstat (limited to 'dev-php/ioncube_loaders/ioncube_loaders-2.1.ebuild')
-rw-r--r-- | dev-php/ioncube_loaders/ioncube_loaders-2.1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-php/ioncube_loaders/ioncube_loaders-2.1.ebuild b/dev-php/ioncube_loaders/ioncube_loaders-2.1.ebuild new file mode 100644 index 000000000000..49fabfc6adc5 --- /dev/null +++ b/dev-php/ioncube_loaders/ioncube_loaders-2.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/ioncube_loaders/ioncube_loaders-2.1.ebuild,v 1.1 2003/08/03 22:29:05 stuart Exp $ + +MY_P="${PN}_${PV}" +PHP_VER="4.3" + +DESCRIPTION="PHP extension that support for running PHP scripts encoded with ionCube's encoder" +HOMEPAGE="http://www.ioncube.com/" +IONCUBE_URL="http://www.ioncube.com/loader_download.php?atype=gz&loader_os[]=linux_i386&php_version[]=${PHP_VER}&form_name=loaders" +SRC_URI="${MY_P}.tar.gz" +LICENSE="${PN}" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="virtual/php" +S="${WORKDIR}/ioncube" +RESTRICT="nomirror fetch nostrip" + +PHP_EXT_NAME="ioncube_loader_lin_${PHP_VER}" +PHP_EXT_ZENDEXT=1 + +PHP_LIB_DIR="/usr/lib/php/${PN}" + +inherit php-ext-base + +pkg_nofetch () { + einfo "Please download the ionCube loaders from:" + einfo "${IONCUBE_URL}" +} + +src_install() { + insinto ${EXT_DIR} + doins ${PHP_EXT_NAME}.so + dodoc README + + insinto "${PHP_LIB_DIR}" + doins ioncube-rtl-tester.php + + php-ext-base_src_install +} + +pkg_config () { + einfo "Please remember to create the 'ioncube' directory as documented" + einfo "in /usr/share/doc/${P}/README." + einfo + einfo "The ioncube loader runtime test script has been installed into" + einfo "${PHP_LIB_DIR}/ioncube-rtl-tester.php" +} |