summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Narváez <david.narvaez@computer.org>2013-01-01 22:52:07 -0500
committerDavid Narváez <david.narvaez@computer.org>2013-01-01 22:52:07 -0500
commit63ce0ed2cf40488050c3e7a7d08cb9de9791d229 (patch)
treee78ff9c49efc2be88aefd4b032bd5adafbb776b3 /dev-util
parentAdding version 0.11 (diff)
downloaddMaggot-63ce0ed2cf40488050c3e7a7d08cb9de9791d229.tar.gz
dMaggot-63ce0ed2cf40488050c3e7a7d08cb9de9791d229.tar.bz2
dMaggot-63ce0ed2cf40488050c3e7a7d08cb9de9791d229.zip
Adding melt ebuilds
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/melt/ChangeLog11
-rw-r--r--dev-util/melt/Manifest5
-rw-r--r--dev-util/melt/files/melt-makefile.diff38
-rw-r--r--dev-util/melt/melt-0.9.7.ebuild48
-rw-r--r--dev-util/melt/melt-0.9.8.ebuild48
5 files changed, 150 insertions, 0 deletions
diff --git a/dev-util/melt/ChangeLog b/dev-util/melt/ChangeLog
new file mode 100644
index 0000000..c2c96b9
--- /dev/null
+++ b/dev-util/melt/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-util/melt
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*melt-0.9.8 (02 Jan 2013)
+*melt-0.9.7 (02 Jan 2013)
+
+ 02 Jan 2013; <david.narvaez@computer.org> +melt-0.9.7.ebuild, +melt-0.9.8.ebuild,
+ +files/melt-makefile.diff:
+ Adding melt ebuilds
+
diff --git a/dev-util/melt/Manifest b/dev-util/melt/Manifest
new file mode 100644
index 0000000..9215934
--- /dev/null
+++ b/dev-util/melt/Manifest
@@ -0,0 +1,5 @@
+AUX melt-makefile.diff 1340 SHA256 071b232f5e2d1dd4bf852c518f214328febe70672c8c2f7ff5d72e7b30160afd SHA512 0e1d36cb2c5e7e58ee9b17645a179a364ebc115fb65bac2e26fa72fcbd645a08a01313108730a2f062a4801b03c2ceb3eb38ef7dee1002d92d3daae9fe444419 WHIRLPOOL e78f8de08452ef419fd2414fc6722f0f72ea5c9b6af41bad3025e86dddc34b97c26dc18c5c36f7e4ff8bd822052115119fc7fb5b6bca1c6700e5585b99720d78
+DIST melt-0.9.7-plugin-for-gcc-4.6-or-4.7-or-4.8.tar.gz 5193713 SHA256 24d511775af34bc2a887468d64f1e609f636efa71c07480a2d4148cfbb6572a9 SHA512 c473b7a9c211b102fd8ea1c055f62682d0a7a42e03ca7af0701fd2395db627e41a55874feaee13932edb31f08ce1f718eceda6a0de3c9eb70588b8caccef585d WHIRLPOOL cebbf090975ec152429a46d05443ad3d7f078c56b8f3e9cdd32d130de4d19384e5b2fe924b272912a7599a2a1b329e47b0d7e4c074156137ccd9b319edee9f7c
+DIST melt-0.9.8-plugin-for-gcc-4.6-or-4.7-or-4.8.tar.gz 5377928 SHA256 00a3e7447117582ed749a76171bbde5886dae723ce9dc53de88c661225098d72 SHA512 0cc43870400360c9f8c16fc050c3c7bdc3e913057747ad8d2c1f606a6b2cd1c74ec6679bb7ed16162ca307a9e7586a55b4859ba236d3dee2a23e597023482222 WHIRLPOOL bd147608debc15c1285b92bc8d147bb5688223ac22995c74e364dc8380a54989fe2204e881101171c4021e53a274320553ecd1d064229b98f031824eb6a6298d
+EBUILD melt-0.9.7.ebuild 821 SHA256 880df2836df46e29f21dfe2ccd8ee8b141f72f37651c38612ebdb5875e27532a SHA512 066e5a3fa25df715f1944f0c1077cb69c45ec13783cd394be584f7a703e4fd9430157762edd9250ed2b508d90f3e74e56e18681f482761b390a3e6b8c02f41b8 WHIRLPOOL f5af357ad403606c16435b855e212d0c8a2a860f7b0a788982b9933cac2fd986e2f5530a9a1d2f3eb94c193e6cde552dae60b06284b5dd698b5dd52e2d5fe283
+EBUILD melt-0.9.8.ebuild 821 SHA256 880df2836df46e29f21dfe2ccd8ee8b141f72f37651c38612ebdb5875e27532a SHA512 066e5a3fa25df715f1944f0c1077cb69c45ec13783cd394be584f7a703e4fd9430157762edd9250ed2b508d90f3e74e56e18681f482761b390a3e6b8c02f41b8 WHIRLPOOL f5af357ad403606c16435b855e212d0c8a2a860f7b0a788982b9933cac2fd986e2f5530a9a1d2f3eb94c193e6cde552dae60b06284b5dd698b5dd52e2d5fe283
diff --git a/dev-util/melt/files/melt-makefile.diff b/dev-util/melt/files/melt-makefile.diff
new file mode 100644
index 0000000..262f87d
--- /dev/null
+++ b/dev-util/melt/files/melt-makefile.diff
@@ -0,0 +1,38 @@
+--- MELT-Plugin-Makefile 2013-01-01 20:19:48.000000000 -0500
++++ MELT-Plugin-Makefile 2013-01-01 20:23:08.000000000 -0500
+@@ -84,12 +84,12 @@
+ MELTLIBS_INCLUDEFLAGS ?=
+
+ ## the gengtype for that GCC and its flag
+-MELTGCC_GENGTYPE := $(shell $(MELTGCC) -print-file-name=gengtype)
++MELTGCC_GENGTYPE := $(shell $(MELTGCC) -print-prog-name=plugin/gengtype)
+
+ MELTGCC_GENGTYPEFLAGS = -v
+
+ ## its state file
+-MELTGCC_GTYPESTATE := $(shell $(MELTGCC) -print-file-name=gtype.state)
++MELTGCC_GTYPESTATE := $(shell $(MELTGCC) -print-file-name=plugin/gtype.state)
+
+ ## MELT plugin extra libraries and flags for melt.so
+ MELTGCC_LIBES =
+@@ -223,7 +223,7 @@
+ GCCMELT_STAGE_ZERO = meltbuild-stage0-quicklybuilt
+
+
+-all: melt-run.h melt.so melt-applications melt-gendoc doc
++all: melt-run.h melt.so melt-applications
+ @echo
+ @echo '+++++++++++++++++++'
+ @echo -n MELT plugin compilation completed at ; date
+@@ -467,9 +467,9 @@
+
+
+ ################# installation
+-install: all melt-gendoc \
++install: all \
+ install-melt-includes install-melt-sources install-melt-modules \
+- install-melt-mk install-melt-so install-melt-doc
++ install-melt-mk install-melt-so
+
+ install-melt-includes: melt-runtime.h melt-predef.h melt-run.h melt-run-md5.h melt/generated/meltrunsup.h
+ @echo installing MELT include directory $(melt_header_dir)
diff --git a/dev-util/melt/melt-0.9.7.ebuild b/dev-util/melt/melt-0.9.7.ebuild
new file mode 100644
index 0000000..0c3ed0b
--- /dev/null
+++ b/dev-util/melt/melt-0.9.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="High-level domain specific language for extending or customizing the Gnu Compiler Collection"
+HOMEPAGE="http://gcc-melt.org/"
+SRC_URI="http://gcc-melt.org/${P}-plugin-for-gcc-4.6-or-4.7-or-4.8.tar.gz"
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc"
+
+DEPEND="
+doc? ( app-text/texi2html )
+>=sys-devel/gcc-4.6
+"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P}-plugin-for-gcc-4.6-or-4.7-or-4.8"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-makefile.diff"
+}
+
+src_configure() { :; }
+
+src_compile() {
+ make
+
+ if use doc; then
+ emake melt-gendoc
+ emake doc
+ fi
+}
+
+src_install () {
+ emake DESTDIR="${D}" install
+
+ if use doc; then
+ dohtml *.html
+ dodoc *.pdf
+ fi
+} \ No newline at end of file
diff --git a/dev-util/melt/melt-0.9.8.ebuild b/dev-util/melt/melt-0.9.8.ebuild
new file mode 100644
index 0000000..0c3ed0b
--- /dev/null
+++ b/dev-util/melt/melt-0.9.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="High-level domain specific language for extending or customizing the Gnu Compiler Collection"
+HOMEPAGE="http://gcc-melt.org/"
+SRC_URI="http://gcc-melt.org/${P}-plugin-for-gcc-4.6-or-4.7-or-4.8.tar.gz"
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc"
+
+DEPEND="
+doc? ( app-text/texi2html )
+>=sys-devel/gcc-4.6
+"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P}-plugin-for-gcc-4.6-or-4.7-or-4.8"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-makefile.diff"
+}
+
+src_configure() { :; }
+
+src_compile() {
+ make
+
+ if use doc; then
+ emake melt-gendoc
+ emake doc
+ fi
+}
+
+src_install () {
+ emake DESTDIR="${D}" install
+
+ if use doc; then
+ dohtml *.html
+ dodoc *.pdf
+ fi
+} \ No newline at end of file