summaryrefslogtreecommitdiff
path: root/app-text/cook
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/cook
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/cook')
-rw-r--r--app-text/cook/Manifest5
-rw-r--r--app-text/cook/cook-1.0.2-r1.ebuild43
-rw-r--r--app-text/cook/metadata.xml8
3 files changed, 56 insertions, 0 deletions
diff --git a/app-text/cook/Manifest b/app-text/cook/Manifest
new file mode 100644
index 000000000000..a1eada14b610
--- /dev/null
+++ b/app-text/cook/Manifest
@@ -0,0 +1,5 @@
+DIST cook-1.0.2.tar.gz 139428 SHA256 b56bab9d5227a37c50e94afc65923a579a0c2ef08a23a6fddb611cb4fd1006da SHA512 6941d3541a6cccc18fcbf14128e0593556148d40f74715b0da943455a223099406d632466137fabef27a2083b582701df92666a1ad6e6a04f5d2d3dc0b62e1a1 WHIRLPOOL b16482bfd614247fda8def080fd872945c614ba13f59471ae84f8e9c4997828630b44b2f4e7d87d586e3ba3d4be41721d8906fa9d8d75c879f84079dd6138bcd
+EBUILD cook-1.0.2-r1.ebuild 1123 SHA256 f450d55dec65a30278dcaf629bd6582fc0209ade0d6582d7e6ee42fb04f7ec60 SHA512 dda71a638f351197f0c18bfacd14c048a773249f3fb2358a58f9bc42943f4dd3724762c06b4aadc37984626c2113112a7d31f8c8fefbde0b7c89a596d9f6b54d WHIRLPOOL a0505ac6b561fec1ca46387dbcb2b04bbd3dc0987a9adb4b266fa1a5ed9e9ede44f86083716e9a841c5a014d789fa15b7da68acf6235f01d4773ed543d950bba
+MISC ChangeLog 2519 SHA256 6a35570e16651d7d24d41ab2b41b83afc7d63c2ce9ea11265e1b33e25df565ad SHA512 bd3cc1221374881374e6b26d1d600fa3f446bfc473516bf7ce61c13f1e82fd934f19fd601917b69b2c0e3df03c424d63c7d7707d10eb9dabe98992a1c754f34b WHIRLPOOL aa204e55dbc7dfd52be1a07d4d56ad181c78c90b7fd6354928e024785ebdd8ee081a04f7361db1e5378d3ee95bfa6f2bea4da93ad842e6d01ba2e9e580013d54
+MISC ChangeLog-2015 2092 SHA256 e1292873fbc62f1b6dac03bad6b8a0a92c0f2702bb19a74d136cb2a24e93eca6 SHA512 3d6a6cc4968e356d449167875d4110c66ff829deb05c5c3d129544c6dcf4f5907f6cf99b6fb79bb1cc6337d36f43aba182dbee537a86259a7dac1d6fe791a945 WHIRLPOOL 029a668545640453b79c7e98b34d04597f980c81da0e20af42ec21c518f952664d7c61ccc913cc642fbf41a4f98b6fb835390ab23ce49aaeec1dba0386cddaf7
+MISC metadata.xml 241 SHA256 fd7f8332cbf731d6c69939a2a5668b0cee6c79562920be61e5e75eb542fffe09 SHA512 36edaae333e04297f6f6357cbcaaf6360580a83e20ec3af8b09c1010601e47c29c45b6eec5347cb90f8fc1fecdffeb1074d3ee55dda78c29026210ea58a7264c WHIRLPOOL 9d7a20a5e3c8195b0ea29f1cbfb492e6d0b2c5bc153c2fe8c8dd8b396370f267b21de0b6619cd61d585fcf5b88c05bcbc2aa014c8b5cbce25397bf0ab575b1eb
diff --git a/app-text/cook/cook-1.0.2-r1.ebuild b/app-text/cook/cook-1.0.2-r1.ebuild
new file mode 100644
index 000000000000..249c23502165
--- /dev/null
+++ b/app-text/cook/cook-1.0.2-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit toolchain-funcs
+
+DESCRIPTION="Embedded language which can be used as a macro preprocessor"
+HOMEPAGE="http://cook.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cook/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86 ~x86-linux ~ppc-macos ~sparc-solaris"
+IUSE=""
+
+DEPEND=""
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ use prefix || EPREFIX=
+
+ dodoc README doc/cook.txt doc/cook.html || die "dodoc failed"
+
+ insinto /usr/share/doc/${PF}/example
+ doins test/pcb.dbdef test/pcb.dg test/pcbprol.ps test/tempsens.pcb || die "doins failed"
+
+ newbin src/cook cookproc || die "newbin failed"
+
+ cat > "${T}"/README.Gentoo <<EOF
+NOTICE:
+
+ ${EPREFIX}/usr/bin/cook has been renamed to ${EPREFIX}/usr/bin/cookproc in Gentoo
+
+ -- Karl Trygve Kalleberg <karltk@gentoo.org>
+EOF
+ dodoc "${T}"/README.Gentoo || die "dodoc failed"
+}
+
+pkg_postinst() {
+ ewarn "${EPREFIX}/usr/bin/cook has been renamed to ${EPREFIX}/usr/bin/cookproc"
+}
diff --git a/app-text/cook/metadata.xml b/app-text/cook/metadata.xml
new file mode 100644
index 000000000000..7e1c91980a55
--- /dev/null
+++ b/app-text/cook/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">cook</remote-id>
+ </upstream>
+</pkgmetadata>