summaryrefslogtreecommitdiff
path: root/dev-util/icmake
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/icmake')
-rw-r--r--dev-util/icmake/Manifest12
-rw-r--r--dev-util/icmake/files/icmake-7.20.00-ar.patch17
-rw-r--r--dev-util/icmake/files/icmake-9.00.00-ar.patch32
-rw-r--r--dev-util/icmake/files/icmake-9.02.02-verbose-build.patch11
-rw-r--r--dev-util/icmake/icmake-7.22.01.ebuild32
-rw-r--r--dev-util/icmake/icmake-9.00.00.ebuild41
-rw-r--r--dev-util/icmake/icmake-9.02.02.ebuild47
-rw-r--r--dev-util/icmake/metadata.xml12
8 files changed, 204 insertions, 0 deletions
diff --git a/dev-util/icmake/Manifest b/dev-util/icmake/Manifest
new file mode 100644
index 000000000000..e288a3fcdb54
--- /dev/null
+++ b/dev-util/icmake/Manifest
@@ -0,0 +1,12 @@
+AUX icmake-7.20.00-ar.patch 399 SHA256 96d8c283f97f58de6beca7fc0dafc6f4eadfa7b3db15b027a99ef6d502eb4fc2 SHA512 6d868cc92961946d546ad18451c7d4829d03136eac8d06fa8195724692e5e71d89ddca869646dd33a85dd3137f849fd755aefee899e69ed83b973b7869688fa2 WHIRLPOOL f48a6513bca7242897963ddb50cbf1d23bdd8959c499438a6379b241e277cc8227ecdbbe46ff3ee802f98e8437b7bb46a317906eca824d24fb58d6615b4b5ab2
+AUX icmake-9.00.00-ar.patch 600 SHA256 1ec15c3e0111c25fdf3ff56597f65837ce7f36602f9662a3592b62faf71b533d SHA512 ef09e8a356cf8a56285282dd793230eaa0de3d959f1e9e4bb0905d402906f159625645d6e9cf080f1b94b89da7024e1a118ebea8f686713d2872ee20d2102325 WHIRLPOOL dff8ea015a00feeabbf196ebe692068c8b02c7b806819ddfb1504af4ea97b1ae3e565780053157e003734c8c481c6a41d1ef8911f26713eab468f68aa3e3ff77
+AUX icmake-9.02.02-verbose-build.patch 141 SHA256 58677b6c5cb384c922d73c6dedd370c99de90e2485c2ffc058ff87c4311378d5 SHA512 7199f34f8b48962e44306e9102d674b8970e03f99f2e2db29b9d813f2c4631f9768582be3423f528f2585106806afff0c2c7430c9125911a1eaca5e77902d546 WHIRLPOOL b093477c6180fa18524f7039efc3456faa34cd5bbbd881674fd2cc1521ec61ec3baebd57d28a23ff7fea1f2ee97f00e862337f55ef7b4fc125d33da62176d960
+DIST icmake-9.00.00.tar.gz 366238 SHA256 2ba6ddf3c7ced5fd5e29ceffebfb283513610ac864c950bb4d3acb8f3300ad15 SHA512 aad57cc5d1a609c1fe5706b4c263e3bf2d34208e8507b3d102ca666e446af829d9fea8ae1c12abc10f96bd4c567e718c05d9e3f09676444787c3ac9a31ccfbfa WHIRLPOOL fcc11b600d4f85e407337e426e91d62e04d17eee4a4902f4de4460a441bb48a174e32c40f3dcb395124b458481c4352be4bff1ff439612deef03f1d9fc333827
+DIST icmake-9.02.02.tar.gz 371881 SHA256 18f673c66c39a392218725ab063ed1cec9f0b28ce00f3896123ecccdf855834a SHA512 7d62569d21224f4584fe6901690a53fa82882e5690ef296cd0fcd770bc19503ea5a5469a7b6eebc8b6719606630e24477801c3c5752c70efdb74a6f6d30bddb9 WHIRLPOOL 20dcad5287958f640f53fff2a0c220cb0c209fb93cc4e45826d7ac4465a8aba339866bef632ce4f869ba25107f1e0e58e6d6d17093389d53ffac6fa7d32f278b
+DIST icmake_7.22.01.orig.tar.gz 331750 SHA256 b522e7937e9d4f0bec738dfce371673e3c4a8bc9f4d209a51631e5ed59ba66c7 SHA512 a17dac0da186202ec5f5962a42963709ebc60f006cea003532b8709242d9e369e71fdc86fffc75ad82620a2c420a8f80c138d31e6570d0055cdfa0b69b63ca3a WHIRLPOOL c20084b28b212739a70f60b5a790461ae3e4b50c9cf9cd37ae50025f835fe4575c927dc5f2335d608436e2f51fb21fdc3eb57ce3ee2881915edec82d2964497e
+EBUILD icmake-7.22.01.ebuild 769 SHA256 3123e14d904d51ef579ca3b6568c362c974b2b0e1375f6d72dd379c5783482e3 SHA512 0dd486d8870955e76f3e978e21d7d6efbc0cca110b6b124b62c39f66197a7a3deffb65f2a4aff2ba895acb89fc77cf0b903e4a3e040519e931c54f9752d4a5e6 WHIRLPOOL f73581a2a2fa1f822705141392e31a29e62fb4b35d49ea85bdace29aa662d95c3ca67fdcc223c9f08f4d305408d282ae0fe1dfb76d95bf4b612cf61fbb9b64b4
+EBUILD icmake-9.00.00.ebuild 866 SHA256 a09a1f3d6976cb1db6a88cb2f1f101ccd90bb6e7949a026a6843283ae5f256e8 SHA512 06ce79eee5dd82c638cf37a2d10470455bed6236825c8cfd4fb30ee509607b9bfe6297d98e91c2b6f98be386f4dd897d4cb14a1a2abe30e3fb4759499f0bd2b9 WHIRLPOOL 7bc9cb9c4ed2306fa3cf231d9fa0cd24aa5459971e7d480cd6f3f5542a6b49527dd6b124836cc3d006d8fadcbd834a56523d5cd7155deeec493f2a24699eaafc
+EBUILD icmake-9.02.02.ebuild 983 SHA256 f78df9978797ec644a08a15aa90ddeb7906920e03de2f8eacf1c4f301f9b8f08 SHA512 0a2be376db0816a4d62626e96dc28129306d8dcd41ecdb08a86aef650031e69ed3881b594cb024ef6c9ebddb3d373c770577322bd0adcc5ad06310cab474916a WHIRLPOOL f589f16f8ba11e2da19812643d8515f68bcc9151854fa6a939a84870f8ed3c27aefb560a60a5fb61395893de2d9e057e964a02257bfa806c21991e1fd5536169
+MISC ChangeLog 3000 SHA256 efbc47022b8cc8b9bca898cd5256c10b684cf047fa010da93693c8d4bcd1fd8a SHA512 bf0e823d29a84c6355101719b1e1f1d045a07a45a1268c03a8f256b65386790c97a7f13647ffe5902cef9c56e2c976352ac06a096146ee30411740b652b45ac7 WHIRLPOOL 704beb7e87b6b8d66ffdb3e098f6ca8ad46608dc0b8073d072d933efe938ce81481ab693b2a1422b92c1c32ac895b043b33b6e7f2d2248a9b47d51fd0a2919b1
+MISC ChangeLog-2015 976 SHA256 913f5a5e59b92e19d6af631121dc72fe96bb9cdf1f903a2726b29980e1e88e51 SHA512 bb7fa51c6963264061b9b463cdecb7f9334d26a59fdc82af7b3d6c0fae9576f6ce312ee68c506e64b9c33ab127bfeee6e0f52435270676fd8dbe1ec9992f8d7f WHIRLPOOL 8225a64e85e72a268be172e2d26fbe24d93de0faf28917b5b513854b2b8b320129a91e087322ffeff1e28f89eaa41d9c82252fc051dafd58b8c52189bf6705af
+MISC metadata.xml 376 SHA256 0ff8cfe7609917df3c2beedfd1e5c067d52d4b118ac78641b11c2bfb53c149aa SHA512 3ead41cb13dd73abf13566a5ce6911b39d4081cea9a77360b1102b2c439c04a97dc98e311b34e87200db7ab53f7ed07d6982f363b6ea29e8115dd808f2d0c245 WHIRLPOOL f546070765742ba054fe7f386234c166f3ec6fb6ebbd5b3f9a2864a78253ce3227c70ea0b3d495154d1dfd84ebae5d925a5ad1d5442fe88bb4746568c675e27e
diff --git a/dev-util/icmake/files/icmake-7.20.00-ar.patch b/dev-util/icmake/files/icmake-7.20.00-ar.patch
new file mode 100644
index 000000000000..e3049f18f745
--- /dev/null
+++ b/dev-util/icmake/files/icmake-7.20.00-ar.patch
@@ -0,0 +1,17 @@
+--- icmake-7.20.00/icm_bootstrap
++++ icmake-7.20.00/icm_bootstrap
+@@ -31,12 +31,13 @@
+
+ if [ "${CFLAGS}" == "" ] ; then CFLAGS="-Wall -O2 -g"; fi
+ if [ "${CC}" == "" ] ; then CC="gcc"; fi
++if [ "${AR}" == "" ] ; then AR="ar"; fi
+
+ echo Creating tmp/libicrss.a
+
+ try cd rss
+ try ${CC} -c ${CFLAGS} ${GLB} *.c
+-try ar rs ../tmp/libicrss.a *.o
++try ${AR} rs ../tmp/libicrss.a *.o
+ rm *.o
+ cd ..
+
diff --git a/dev-util/icmake/files/icmake-9.00.00-ar.patch b/dev-util/icmake/files/icmake-9.00.00-ar.patch
new file mode 100644
index 000000000000..0eff669f8e39
--- /dev/null
+++ b/dev-util/icmake/files/icmake-9.00.00-ar.patch
@@ -0,0 +1,32 @@
+--- icmake/bootstrap/flags
++++ icmake/bootstrap/flags
+@@ -14,3 +14,7 @@
+ if [ "${CC}" == "" ] ; then
+ CC="gcc"
+ fi
++
++if [ "${AR}" == "" ] ; then
++ CC="ar"
++fi
+--- icmake/bootstrap/functions
++++ icmake/bootstrap/functions
+@@ -35,7 +35,7 @@
+
+ echo -n .
+
+- try ar crs ../tmp/lib${program}.a */*.o
++ try ${AR} crs ../tmp/lib${program}.a */*.o
+
+ echo -n .
+
+--- icmake/rss/icm_bootstrap
++++ icmake/rss/icm_bootstrap
+@@ -8,7 +8,7 @@
+ echo -n .
+ try ${CC} -c ${CFLAGS} *.c
+ echo -n .
+-try ar rs ../tmp/libicrss.a *.o
++try ${AR} rs ../tmp/libicrss.a *.o
+ echo -n .
+ rm *.o
+ echo .
diff --git a/dev-util/icmake/files/icmake-9.02.02-verbose-build.patch b/dev-util/icmake/files/icmake-9.02.02-verbose-build.patch
new file mode 100644
index 000000000000..dde1af395152
--- /dev/null
+++ b/dev-util/icmake/files/icmake-9.02.02-verbose-build.patch
@@ -0,0 +1,11 @@
+--- icmake/bootstrap/functions
++++ icmake/bootstrap/functions
+@@ -2,7 +2,7 @@
+
+ try()
+ {
+- # echo $*
++ echo $*
+ $* || exit 1
+ }
+
diff --git a/dev-util/icmake/icmake-7.22.01.ebuild b/dev-util/icmake/icmake-7.22.01.ebuild
new file mode 100644
index 000000000000..ccb9d9c74efd
--- /dev/null
+++ b/dev-util/icmake/icmake-7.22.01.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit multilib toolchain-funcs eutils
+
+DESCRIPTION="Hybrid between a make utility and a shell scripting language"
+HOMEPAGE="https://fbb-git.github.io/icmake/ https://github.com/fbb-git/icmake"
+SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.orig.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+ sed -e "/^#define LIBDIR/s/lib/$(get_libdir)/" \
+ -e "/^#define DOCDIR/s/${PN}/${PF}/" \
+ -e "/^#define DOCDOCDIR/s/${PN}-doc/${PF}/" \
+ -i INSTALL.im || die
+
+ epatch "${FILESDIR}"/${PN}-7.20.00-ar.patch
+ tc-export AR CC
+}
+
+src_compile() {
+ ./icm_bootstrap "${EROOT}" || die
+}
+
+src_install() {
+ ./icm_install all "${ED}" || die
+}
diff --git a/dev-util/icmake/icmake-9.00.00.ebuild b/dev-util/icmake/icmake-9.00.00.ebuild
new file mode 100644
index 000000000000..2fd35d977fce
--- /dev/null
+++ b/dev-util/icmake/icmake-9.00.00.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Hybrid between a make utility and a shell scripting language"
+HOMEPAGE="https://fbb-git.github.io/icmake/ https://github.com/fbb-git/icmake"
+SRC_URI="https://github.com/fbb-git/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S=${WORKDIR}/${P}/${PN}
+
+src_prepare() {
+ local PATCHES=( "${FILESDIR}"/${P}-ar.patch )
+
+ sed -e "/^#define LIBDIR/s/lib/$(get_libdir)/" \
+ -e "/^#define DOCDIR/s/${PN}/${PF}/" \
+ -e "/^#define DOCDOCDIR/s/${PN}-doc/${PF}/" \
+ -i INSTALL.im || die
+
+ tc-export AR CC
+
+ default
+}
+
+src_configure() {
+ ./icm_prepare "${EROOT}" || die
+}
+
+src_compile() {
+ ./icm_bootstrap "${EROOT}" || die
+}
+
+src_install() {
+ ./icm_install all "${ED}" || die
+}
diff --git a/dev-util/icmake/icmake-9.02.02.ebuild b/dev-util/icmake/icmake-9.02.02.ebuild
new file mode 100644
index 000000000000..5fb892980616
--- /dev/null
+++ b/dev-util/icmake/icmake-9.02.02.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="Hybrid between a make utility and a shell scripting language"
+HOMEPAGE="https://fbb-git.github.io/icmake/ https://github.com/fbb-git/icmake"
+SRC_URI="https://github.com/fbb-git/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S=${WORKDIR}/${P}/${PN}
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-9.00.00-ar.patch
+ "${FILESDIR}"/${P}-verbose-build.patch
+)
+
+src_prepare() {
+ default
+
+ sed -e "/^#define LIBDIR/s/lib/$(get_libdir)/" \
+ -e "/^#define DOCDIR/s/${PN}/${PF}/" \
+ -e "/^#define DOCDOCDIR/s/${PN}-doc/${PF}/" \
+ -i INSTALL.im || die
+
+ # fix build issues (bug #589896)
+ append-cflags -std=gnu99
+
+ tc-export AR CC
+}
+
+src_configure() {
+ ./icm_prepare "${EROOT}" || die
+}
+
+src_compile() {
+ ./icm_bootstrap "${EROOT}" || die
+}
+
+src_install() {
+ ./icm_install all "${ED}" || die
+}
diff --git a/dev-util/icmake/metadata.xml b/dev-util/icmake/metadata.xml
new file mode 100644
index 000000000000..42bd66d89c38
--- /dev/null
+++ b/dev-util/icmake/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">icmake</remote-id>
+ <remote-id type="github">fbb-git/icmake</remote-id>
+ </upstream>
+</pkgmetadata>