summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/pike/pike-7.6.86-r1.ebuild')
-rw-r--r--dev-lang/pike/pike-7.6.86-r1.ebuild99
1 files changed, 99 insertions, 0 deletions
diff --git a/dev-lang/pike/pike-7.6.86-r1.ebuild b/dev-lang/pike/pike-7.6.86-r1.ebuild
new file mode 100644
index 000000000000..de4c171cd57f
--- /dev/null
+++ b/dev-lang/pike/pike-7.6.86-r1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/pike/pike-7.6.86-r1.ebuild,v 1.1 2006/07/11 07:42:53 araujo Exp $
+
+DESCRIPTION="Pike programming language and runtime"
+HOMEPAGE="http://pike.ida.liu.se/"
+SRC_URI="http://pike.ida.liu.se/pub/pike/all/${PV}/Pike-v${PV}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1 MPL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="bzip2 debug doc fftw gdbm gif gtk hardened jpeg kerberos mime mmx mysql opengl pcre pdf scanner sdl ssl svg tiff truetype zlib"
+
+DEPEND="dev-libs/nettle
+ dev-libs/gmp
+ bzip2? ( app-arch/bzip2 )
+ fftw? ( sci-libs/fftw )
+ gdbm? ( sys-libs/gdbm )
+ gif? ( media-libs/giflib )
+ gtk? ( =x11-libs/gtk+-1.2* )
+ jpeg? ( media-libs/jpeg )
+ kerberos? ( virtual/krb5 )
+ mysql? ( dev-db/mysql )
+ opengl? ( virtual/opengl virtual/glut )
+ pcre? ( dev-libs/libpcre )
+ pdf? ( media-libs/pdflib )
+ scanner? ( media-gfx/sane-backends )
+ sdl? ( media-libs/libsdl media-libs/sdl-mixer )
+ ssl? ( dev-libs/openssl )
+ svg? ( gnome-base/librsvg )
+ tiff? ( media-libs/tiff )
+ truetype? ( media-libs/freetype )
+ zlib? ( sys-libs/zlib )"
+RDEPEND=""
+
+S=${WORKDIR}/Pike-v${PV}
+
+src_compile() {
+ local myconf=""
+ # ffmpeg is broken atm #110136
+ myconf="${myconf} --without-_Ffmpeg"
+ # on hardened, disable runtime-generated code
+ # otherwise let configure work it out for itself
+ use hardened && myconf="${myconf} --without-machine-code"
+ make \
+ CONFIGUREARGS=" \
+ --prefix=/usr \
+ --disable-make_conf \
+ --disable-noopty-retry \
+ --without-cdebug \
+ --without-bundles \
+ --without-copt \
+ --with-crypt \
+ --with-gmp \
+ --with-bignums \
+ $(use_with bzip2 Bz2) \
+ $(use_with debug rtldebug) \
+ $(use_with fftw) \
+ $(use_with gdbm) \
+ $(use_with gif) \
+ $(use_with gtk GTK) \
+ $(use_with jpeg jpeglib) \
+ $(use_with kerberos Kerberos) \
+ $(use_with mime MIME) \
+ $(use_with mmx) \
+ $(use_with mysql) \
+ $(use_with opengl GL) \
+ $(use_with opengl GLUT) \
+ $(use_with pcre _Regexp_PCRE) \
+ $(use_with pdf libpdf) \
+ $(use_with scanner sane) \
+ $(use_with sdl SDL) \
+ $(use_with sdl SDL_mixer) \
+ $(use_with ssl ssleay) \
+ $(use_with svg) \
+ $(use_with tiff tifflib) \
+ $(use_with truetype ttflib) \
+ $(use_with truetype freetype) \
+ $(use_with zlib) \
+ ${myconf} \
+ ${EXTRA_ECONF} \
+ " || die
+
+ if use doc; then
+ PATH="${S}/bin:${PATH}" make doc || die "doc failed"
+ fi
+}
+
+src_install() {
+ # do not remove modules to avoid sandbox violation.
+ sed -i s/rm\(mod\+\"\.o\"\)\;/break\;/ "${S}"/bin/install.pike || die "Failed to modify install.pike"
+ if use doc ; then
+ make INSTALLARGS="--traditional" buildroot="${D}" install || die
+ einfo "Installing 60MB of docs, this could take some time ..."
+ dohtml -r "${S}"/refdoc/traditional_manual "${S}"/refdoc/modref
+ else
+ make INSTALLARGS="--traditional" buildroot="${D}" install_nodoc || die
+ fi
+}