summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Groesslinger <scandium@gentoo.org>2003-08-30 21:49:36 +0000
committerRainer Groesslinger <scandium@gentoo.org>2003-08-30 21:49:36 +0000
commitaa1c45bacdf9cd1a6922fabca5b0f8eb199fe0b0 (patch)
treee7a1ad3d309d8943af4f55a7bcdebf9dece4626d /dev-lang
parentinitial commit (diff)
downloadhistorical-aa1c45bacdf9cd1a6922fabca5b0f8eb199fe0b0.tar.gz
historical-aa1c45bacdf9cd1a6922fabca5b0f8eb199fe0b0.tar.bz2
historical-aa1c45bacdf9cd1a6922fabca5b0f8eb199fe0b0.zip
initial commit
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/pike/Manifest4
-rw-r--r--dev-lang/pike/files/digest-pike-7.4.201
-rw-r--r--dev-lang/pike/metadata.xml8
-rw-r--r--dev-lang/pike/pike-7.4.20.ebuild47
4 files changed, 60 insertions, 0 deletions
diff --git a/dev-lang/pike/Manifest b/dev-lang/pike/Manifest
index e69de29bb2d1..be5e261b72b0 100644
--- a/dev-lang/pike/Manifest
+++ b/dev-lang/pike/Manifest
@@ -0,0 +1,4 @@
+MD5 c646cd4eb38a2b0d2b9423ca19ae0ad4 pike-7.4.20.ebuild 1433
+MD5 7164d2a546785fee1e77dac8839fdeaa metadata.xml 224
+MD5 2d8a83b3a2eaeff0d63d4499426dabc0 ChangeLog 410
+MD5 308f6090a8fe96c717509be0d49c460f files/digest-pike-7.4.20 65
diff --git a/dev-lang/pike/files/digest-pike-7.4.20 b/dev-lang/pike/files/digest-pike-7.4.20
new file mode 100644
index 000000000000..ebe3e028f071
--- /dev/null
+++ b/dev-lang/pike/files/digest-pike-7.4.20
@@ -0,0 +1 @@
+MD5 b85a717c2f6064e8485c2116e746bbc0 Pike-v7.4.20.tar.gz 6703270
diff --git a/dev-lang/pike/metadata.xml b/dev-lang/pike/metadata.xml
new file mode 100644
index 000000000000..b15afdb30c24
--- /dev/null
+++ b/dev-lang/pike/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>scandium@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-lang/pike/pike-7.4.20.ebuild b/dev-lang/pike/pike-7.4.20.ebuild
new file mode 100644
index 000000000000..b896cc28e219
--- /dev/null
+++ b/dev-lang/pike/pike-7.4.20.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/pike/pike-7.4.20.ebuild,v 1.1 2003/08/30 21:49:31 scandium Exp $
+
+inherit flag-o-matic
+
+# -fomit-frame-pointer breaks the compilation
+filter-flags -fomit-frame-pointer
+
+IUSE="debug doc gdbm mysql zlib"
+
+S="${WORKDIR}/Pike-v${PV}"
+HOMEPAGE="http://pike.ida.liu.se/"
+DESCRIPTION="Pike programming language and runtime"
+SRC_URI="ftp://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="~x86"
+
+DEPEND="dev-libs/gmp
+ sys-devel/gcc
+ sys-devel/make
+ sys-apps/sed"
+
+src_compile() {
+ local myconf
+ use zlib || myconf="${myconf} --without-zlib"
+ use mysql || myconf="${myconf} --without-mysql"
+ use debug || myconf="${myconf} --without-debug"
+ use gdbm || myconf="${myconf} --without-gdbm"
+
+ # We have to use --disable-make_conf to override make.conf settings
+ # Otherwise it may set -fomit-frame-pointer again
+ emake CONFIGUREARGS="${myconf} --prefix=/usr --disable-make_conf" || die
+
+ cd ${S}/refdoc
+ make
+}
+
+src_install () {
+ #the installer should be stopped from removing files
+ sed -i s/rm\(mod\+\"\.o\"\)\;/\{\}/ ${S}/bin/install.pike || die "Failed to modify install.pike"
+ make INSTALLARGS="--traditional" buildroot=${D} install || die
+
+ use doc && dohtml -r ${S}/refdoc/traditional_manual ${S}/refdoc/modref
+}