diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-lang/jimtcl |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-lang/jimtcl')
-rw-r--r-- | dev-lang/jimtcl/Manifest | 16 | ||||
-rw-r--r-- | dev-lang/jimtcl/files/jimtcl-0.75-bootstrap.patch | 15 | ||||
-rw-r--r-- | dev-lang/jimtcl/jimtcl-0.70_pre20110317.ebuild | 37 | ||||
-rw-r--r-- | dev-lang/jimtcl/jimtcl-0.73.ebuild | 42 | ||||
-rw-r--r-- | dev-lang/jimtcl/jimtcl-0.74-r1.ebuild | 46 | ||||
-rw-r--r-- | dev-lang/jimtcl/jimtcl-0.75-r1.ebuild | 71 | ||||
-rw-r--r-- | dev-lang/jimtcl/jimtcl-0.75.ebuild | 46 | ||||
-rw-r--r-- | dev-lang/jimtcl/jimtcl-0.76.ebuild | 71 | ||||
-rw-r--r-- | dev-lang/jimtcl/jimtcl-9999.ebuild | 71 | ||||
-rw-r--r-- | dev-lang/jimtcl/metadata.xml | 11 |
10 files changed, 426 insertions, 0 deletions
diff --git a/dev-lang/jimtcl/Manifest b/dev-lang/jimtcl/Manifest new file mode 100644 index 000000000000..255a438e61c0 --- /dev/null +++ b/dev-lang/jimtcl/Manifest @@ -0,0 +1,16 @@ +AUX jimtcl-0.75-bootstrap.patch 585 SHA256 ee126511c2f0167bcb741c4e881e63ac3c3fa9a2d27eb46ce452142015f9c1a4 SHA512 fe82d393a1a46e3db4567287717af4c1813205945459702ebc3a9423395994a9fa2a337a5569241f4aada4176ce8abd65f88081112a1e2def9a4b5eb237cb647 WHIRLPOOL e98984d69c16d9e853c28ba6ea16957f6c6e08cad8f2408348bcfe4b23a9597b02a0a11b32fda939d5f0341b01f257f8633e92a5333bbdd65c589cbe71a9685b +DIST jimtcl-0.70_pre20110317.tar.gz 691917 SHA256 28998a03321ef64d23376057c1a3dfb0f2f552ddce19df54d1d1277d3487f70d SHA512 138000c97bf7f8c0c5d81cd98861684d382579ace0cb1f7b96f71dde721ca627bf4d7beeed2bc8528077da26353a41ee9bcdbabd44bd732082c42ad6c7f91c65 WHIRLPOOL f1bc3336e49fb8229d41ed289070fac9ac515c4a4ed314a3d166a59244c57860ad628dd2016ded75ca8ec780c68a7b664e3030df86e06e5534d2fb6eda8d2b51 +DIST jimtcl-0.73.zip 2286098 SHA256 3d7348ad7f853dd58ab3c05d5404ababde083eef95debca6c7cee2da047214d0 SHA512 9d99eff13292ed1db95ca673be88b14c87e9ce1e28d3fab0b08e0ca0473765fa2e8e305fd5f67768d94ae47cc3e0bc3d0cec8ba4a54ad3d5c1359ee8e2d36f81 WHIRLPOOL 8bb83acad304dc73abfeee8718713bcc5a613cfbc3f875d6c31d70778822b88cf0f415b038262125236884853d9c977bf7ff134fb166e2b83124f452d7b6cd29 +DIST jimtcl-0.74.zip 2304607 SHA256 72def814ce1bf6359568d87df4c27af313f606e9a043900e4f4b04c77c66dd8c SHA512 6c7a1d45c15ac533aa35adaf5099712ca4ef456280121610a6621d5abb94505e93b165d36bb8ae4c27733118e2590774051c716f4c6bcb9bddca4d937d770a7b WHIRLPOOL 14ee7066b9913d84dc8773cf86a6f7d15b30cbf2c21434bec3bf7672e4931c13f60b403771023b5dbb87ca3b87f4305045e595e5adbb4037e8028db5c72af30a +DIST jimtcl-0.75.zip 2319459 SHA256 1e8c25166d32e19068d1f94cb36613b9776bee9e2393e77acbd985cc6ab49924 SHA512 f2ba7a3e97de0c49813594e8238fdbb4db426f0974e3441312bccc773984304bf5621d45a117f9e7bec1d2120b8797102a2ec38caf329fd3b42ba708e66fd84a WHIRLPOOL 636fd4f5449e7bf5f1530cd915e4da561ce8809dda8bd070be4efb4e436d4ff9d5c46228eaa473b0396457c7646e8d5b7b886a5ba964d8a1b5cfc67bb4b3cc0f +DIST jimtcl-0.76.zip 2326715 SHA256 288babe4a4f2f4445113873001a28abc0b0b3a69f0acb7d0fa5da7405e4f3a17 SHA512 50763ea897fb5393083749cdd9e57a3f3d2d6dbebc40ee6371b1b86ebfc2f515e9775cd2acd6627f0f81b54bd72cd8c74be5aa9d0dbefc7c16372887e07f6ea4 WHIRLPOOL 54c739d29547a2149ccbf8f5a9c310d39a411f56392e332055aea275dfd6d66ca09f417fb9201983441027274c0ae0e3fe58f84ad58fa75b9b6e8e51578c3403 +EBUILD jimtcl-0.70_pre20110317.ebuild 908 SHA256 d991fa4e149d69bb5b95b9faa8469f2a2856a73702ee3b51a85ec99ae18628e3 SHA512 9e6840ad39bda0cdfc9027466f8fc16896b55dd6bbb1b2f7a94b06787c239416efb5dcbaf657ab2c7b0b3d1cd7b534d675f748a46269d07e78039fd2f1c46f44 WHIRLPOOL 81ee2ef05bac31ee072e25a6a8ea0f5999440a59c6857c3ee761df48caa6ad49741a3c7833967d1a49391f6fa21a8e6d4ca305c66c74815582cb048c087ac574 +EBUILD jimtcl-0.73.ebuild 923 SHA256 bff7df0218c181e0c9e0675d4235d436035e2be3e76e676ca4f9ec5c1b4d7266 SHA512 1a3910166f49fda853bb5d116df969c64be37d36ca7a1e3c00b013e6b32effb34267aaf716382bf36728e73fdf1bf726cf5722fd881fd8f7d6163483cfaa8402 WHIRLPOOL 2fa3a46e2be13d9230e4d4abb76c2bb26919f512f94ea2fdbe8e7257e08a75590bef21ba6d9d9cdc0ed4428939cff0a1fda3924ad5fecfdccae947b8891531a3 +EBUILD jimtcl-0.74-r1.ebuild 1032 SHA256 6b7132373a697ebe31efab0567007c73bb3de9c37111479353d508c23615e921 SHA512 5f3ed029375213dea3a396736af2bb835e730250097d0010b284062be58e13a1578979d10e2cc1fb795891936790f38dbec22e167ce5e682e44cba8e9fcfa3c9 WHIRLPOOL 28401a37406d953d8a18962a62424c31dd9ec5b00f1e6aab362737789ef0226ebca8eec3c7cad294d4a4f5fe991e908d70ed9450efa106e3f5e09a8d77ae0cbe +EBUILD jimtcl-0.75-r1.ebuild 1569 SHA256 38e4ae7d8e6397075b16b5e94b28e3edb4d44e7f37de82b92cb1d591ecbc13b3 SHA512 e60ad25ea590ad971d7e0848907f368918ad45dca8425f0d51f95047268f27157c49c1763eb984223392c90c3430851e366e68ebbfe47b21d547a91fb0f1633d WHIRLPOOL a090e213bbf1abe840454bb7464a829048e9862eebf95e91bdb7ce081d5a559b8ff47a46d77fd105ed64851cd38d8f58ae77880f7731e82e822923159db05fb1 +EBUILD jimtcl-0.75.ebuild 1038 SHA256 5f926349c029d8053ecac589a7f01181a5635db4cfa389c6e45ef97c4315dbc0 SHA512 35e7fa6d3eb9d05c6e5ac2eb2d8e5dfff7fd09fbe2c17f614c35702afb3b6fb7eb0ecba559ee7d9b50ca6424e0e02064e5d54fff51f535c4ab0f85f07b4592c9 WHIRLPOOL 6b8b71c851c92fb92cd888049271ad23116291923143bbf2cf71597f6f415fa9dde1cb00276842d0e03c7709d0d29eb88f1c73a2415b8739876415c50a463128 +EBUILD jimtcl-0.76.ebuild 1566 SHA256 50cc80bd7736f0a773026a3bc2ed4562d7a2e6a90e41faa62d644360ca42924c SHA512 d8f220bfa57e731ccaae01ab06b37d72c2df6fcc3382f0ddfee11bde71c6d368eb9eed474bd97277f5a81666629e4d519548cea4740d19cf71eab1593add07c9 WHIRLPOOL d2da06fbd324de4bea21aebd35d102775366c09eaa60f0c8f154765407f11d3a6fb121fd4d9f898ff948f6594858594eabfb23cf2051e0db385166adb5c31902 +EBUILD jimtcl-9999.ebuild 1569 SHA256 38e4ae7d8e6397075b16b5e94b28e3edb4d44e7f37de82b92cb1d591ecbc13b3 SHA512 e60ad25ea590ad971d7e0848907f368918ad45dca8425f0d51f95047268f27157c49c1763eb984223392c90c3430851e366e68ebbfe47b21d547a91fb0f1633d WHIRLPOOL a090e213bbf1abe840454bb7464a829048e9862eebf95e91bdb7ce081d5a559b8ff47a46d77fd105ed64851cd38d8f58ae77880f7731e82e822923159db05fb1 +MISC ChangeLog 2571 SHA256 e4f982b19a6bec7acbf263df25e406fa43a384065d865f279d88bccb3899ac8a SHA512 d29645f503c270c52ae8a14f0e668355cf1c0b9c121d1e8439faecd55c73d3a5c934c0a48bea7d7e66b0d7c78da9b112602ff96fd3c7ebc82f33b577907d0565 WHIRLPOOL eccda5d23356a40662b34c8623e22ef5f3c87e425c41024e213cf4276aa9a059cba6b0659dae12aabc83d04f9d64ae21db973fca36120d02e4d86df192469853 +MISC ChangeLog-2015 3135 SHA256 211bfbbbfbdfda6531bf5fe8c8522706d6b24a5d0277c77a76a8c705b08b59f1 SHA512 63599338892d7d8228cd11b87642d9a7503342a60102b3c89db1f0db2fac1d7004de6bf9b208aa27bded6a2726cc6991cb4b73b6a0cf41b45512077dc898edfa WHIRLPOOL 79ddc0f1af5f2751e964cd78ee6cc9c7edafdb55aa840fa4fd4892909a93614bbc6ba344f2c9c52fbd671b697a34d422feb998dcdf47b43c4b0d3ef13233a85f +MISC metadata.xml 339 SHA256 768865c8c16f716eb50077809aa55fcb9c37344791cfe35fe80f0310c982f6c7 SHA512 84a6a6b15c451483e0f07742ba07af92678738a7e7e272090fc1786fdfe9c18565a62949c344c4383b905edcdf7db45808d0bf0a2e56a43df08795c9e6e81183 WHIRLPOOL 4266d38866ab0828faae4975f672e562bbe1562289c31c7c089e23662806f53790e2ea7edccf7d6e6dd6571e637e2e23aafc246cf49807dfb97d706e6aef4eb4 diff --git a/dev-lang/jimtcl/files/jimtcl-0.75-bootstrap.patch b/dev-lang/jimtcl/files/jimtcl-0.75-bootstrap.patch new file mode 100644 index 000000000000..60850e0b6d0b --- /dev/null +++ b/dev-lang/jimtcl/files/jimtcl-0.75-bootstrap.patch @@ -0,0 +1,15 @@ +always do a bootstrap w/local jimsh0 to avoid requiring tcl or jimtcl +to be installed first. the bootstrap prog is small too. + +--- a/autosetup/find-tclsh ++++ b/autosetup/find-tclsh +@@ -4,9 +4,6 @@ + d=`dirname "$0"` + { "$d/jimsh0" "$d/test-tclsh"; } 2>/dev/null && exit 0 + PATH="$PATH:$d"; export PATH +-for tclsh in jimsh tclsh tclsh8.5 tclsh8.6; do +- { $tclsh "$d/test-tclsh"; } 2>/dev/null && exit 0 +-done + echo 1>&2 "No installed jimsh or tclsh, building local bootstrap jimsh0" + for cc in ${CC_FOR_BUILD:-cc} gcc; do + { $cc -o "$d/jimsh0" "$d/jimsh0.c"; } 2>/dev/null || continue diff --git a/dev-lang/jimtcl/jimtcl-0.70_pre20110317.ebuild b/dev-lang/jimtcl/jimtcl-0.70_pre20110317.ebuild new file mode 100644 index 000000000000..fe34db13742e --- /dev/null +++ b/dev-lang/jimtcl/jimtcl-0.70_pre20110317.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +DESCRIPTION="Small footprint implementation of Tcl programming language" +HOMEPAGE="http://jim.berlios.de/" +SRC_URI="https://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +src_configure() { + ! use static-libs && myconf=--with-jim-shared + econf ${myconf} \ + --with-jim-ext=nvp +} + +src_compile() { + emake all docs || die +} + +src_install() { + dobin jimsh || die "dobin failed" + use static-libs && { + dolib.a libjim.a || die "dolib failed" + } || { + dolib.so libjim.so || die "dolib failed" + } + insinto /usr/include + doins jim.h jimautoconf.h jim-subcmd.h jim-nvp.h jim-signal.h + doins jim-win32compat.h jim-eventloop.h jim-config.h + dodoc AUTHORS README TODO || die "dodoc failed" + dohtml Tcl.html || die "dohtml failed" +} diff --git a/dev-lang/jimtcl/jimtcl-0.73.ebuild b/dev-lang/jimtcl/jimtcl-0.73.ebuild new file mode 100644 index 000000000000..cb1758884343 --- /dev/null +++ b/dev-lang/jimtcl/jimtcl-0.73.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +DESCRIPTION="Small footprint implementation of Tcl programming language" +HOMEPAGE="http://jim.tcl.tk" +SRC_URI="https://github.com/msteveb/jimtcl/zipball/0.73 -> ${P}.zip" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="amd64 arm arm64 m68k s390 sh x86" +IUSE="doc static-libs" +DEPEND="doc? ( app-text/asciidoc ) + app-arch/unzip" + +GIT_HASH="5b8ea68" +S="${WORKDIR}"/msteveb-${PN}-${GIT_HASH} + +src_configure() { + ! use static-libs && myconf=--with-jim-shared + econf ${myconf} +} + +src_compile() { + emake all + use doc && emake docs +} + +src_install() { + dobin jimsh + use static-libs && { + dolib.a libjim.a + } || { + dolib.so libjim.so + } + insinto /usr/include + doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h + doins jim-win32compat.h jim-eventloop.h jim-config.h + dodoc AUTHORS README TODO + use doc && dohtml Tcl.html +} diff --git a/dev-lang/jimtcl/jimtcl-0.74-r1.ebuild b/dev-lang/jimtcl/jimtcl-0.74-r1.ebuild new file mode 100644 index 000000000000..56008de46ce6 --- /dev/null +++ b/dev-lang/jimtcl/jimtcl-0.74-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit multilib + +DESCRIPTION="Small footprint implementation of Tcl programming language" +HOMEPAGE="http://jim.tcl.tk" +SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~s390 ~sh ~x86" +IUSE="doc static-libs" +DEPEND="doc? ( app-text/asciidoc ) + app-arch/unzip" + +GIT_HASH="9a3562c" +S="${WORKDIR}"/msteveb-${PN}-${GIT_HASH} + +src_configure() { + ! use static-libs && myconf=--with-jim-shared + econf ${myconf} +} + +src_compile() { + emake all + use doc && emake docs +} + +src_install() { + dobin jimsh + use static-libs && { + dolib.a libjim.a + } || { + dolib.so libjim.so.${PV} + dosym /usr/$(get_libdir)/libjim.so.${PV} \ + /usr/$(get_libdir)/libjim.so + } + insinto /usr/include + doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h + doins jim-win32compat.h jim-eventloop.h jim-config.h + dodoc AUTHORS README TODO + use doc && dohtml Tcl.html +} diff --git a/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild b/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild new file mode 100644 index 000000000000..d05b5040644f --- /dev/null +++ b/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit multiprocessing eutils + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git" + inherit git-2 +else + inherit vcs-snapshot + SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip" + KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86" +fi + +DESCRIPTION="Small footprint implementation of Tcl programming language" +HOMEPAGE="http://jim.tcl.tk/" + +LICENSE="LGPL-2" +SLOT="0" +IUSE="doc static-libs" + +RDEPEND="" +DEPEND="doc? ( app-text/asciidoc ) + app-arch/unzip" + +src_unpack() { + if [[ ${PV} == "9999" ]] ; then + git-2_src_unpack + else + default + cd "${WORKDIR}"/msteveb-jimtcl-* + S=${PWD} + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.75-bootstrap.patch +} + +src_configure() { + multijob_init + CCACHE=None multijob_child_init econf --with-jim-shared + if use static-libs ; then + # The build does not support doing both simultaneously. + mkdir static-libs + cd static-libs + CCACHE=None ECONF_SOURCE=${S} multijob_child_init econf + fi + multijob_finish +} + +src_compile() { + # Must build static-libs first. + use static-libs && emake -C static-libs libjim.a + emake all + use doc && emake docs +} + +src_install() { + dobin jimsh + use static-libs && dolib.a static-libs/libjim.a + ln -sf libjim.so.* libjim.so + dolib.so libjim.so* + insinto /usr/include + doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h \ + jim-win32compat.h jim-eventloop.h jim-config.h + dodoc AUTHORS README TODO + use doc && dohtml Tcl.html +} diff --git a/dev-lang/jimtcl/jimtcl-0.75.ebuild b/dev-lang/jimtcl/jimtcl-0.75.ebuild new file mode 100644 index 000000000000..59a5c92d1924 --- /dev/null +++ b/dev-lang/jimtcl/jimtcl-0.75.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit multilib + +DESCRIPTION="Small footprint implementation of Tcl programming language" +HOMEPAGE="http://jim.tcl.tk" +SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86" +IUSE="doc static-libs" +DEPEND="doc? ( app-text/asciidoc ) + app-arch/unzip" + +GIT_HASH="cffd1a5" +S="${WORKDIR}"/msteveb-${PN}-${GIT_HASH} + +src_configure() { + ! use static-libs && myconf=--with-jim-shared + econf ${myconf} +} + +src_compile() { + emake all + use doc && emake docs +} + +src_install() { + dobin jimsh + use static-libs && { + dolib.a libjim.a + } || { + dolib.so libjim.so.${PV} + dosym /usr/$(get_libdir)/libjim.so.${PV} \ + /usr/$(get_libdir)/libjim.so + } + insinto /usr/include + doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h + doins jim-win32compat.h jim-eventloop.h jim-config.h + dodoc AUTHORS README TODO + use doc && dohtml Tcl.html +} diff --git a/dev-lang/jimtcl/jimtcl-0.76.ebuild b/dev-lang/jimtcl/jimtcl-0.76.ebuild new file mode 100644 index 000000000000..a82e24c9b204 --- /dev/null +++ b/dev-lang/jimtcl/jimtcl-0.76.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit multiprocessing eutils + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git" + inherit git-2 +else + inherit vcs-snapshot + SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip" + KEYWORDS="amd64 arm ~arm64 ~m68k ~mips ~s390 ~sh x86" +fi + +DESCRIPTION="Small footprint implementation of Tcl programming language" +HOMEPAGE="http://jim.tcl.tk/" + +LICENSE="LGPL-2" +SLOT="0" +IUSE="doc static-libs" + +RDEPEND="" +DEPEND="doc? ( app-text/asciidoc ) + app-arch/unzip" + +src_unpack() { + if [[ ${PV} == "9999" ]] ; then + git-2_src_unpack + else + default + cd "${WORKDIR}"/msteveb-jimtcl-* + S=${PWD} + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.75-bootstrap.patch +} + +src_configure() { + multijob_init + CCACHE=None multijob_child_init econf --with-jim-shared + if use static-libs ; then + # The build does not support doing both simultaneously. + mkdir static-libs + cd static-libs + CCACHE=None ECONF_SOURCE=${S} multijob_child_init econf + fi + multijob_finish +} + +src_compile() { + # Must build static-libs first. + use static-libs && emake -C static-libs libjim.a + emake all + use doc && emake docs +} + +src_install() { + dobin jimsh + use static-libs && dolib.a static-libs/libjim.a + ln -sf libjim.so.* libjim.so + dolib.so libjim.so* + insinto /usr/include + doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h \ + jim-win32compat.h jim-eventloop.h jim-config.h + dodoc AUTHORS README TODO + use doc && dohtml Tcl.html +} diff --git a/dev-lang/jimtcl/jimtcl-9999.ebuild b/dev-lang/jimtcl/jimtcl-9999.ebuild new file mode 100644 index 000000000000..d05b5040644f --- /dev/null +++ b/dev-lang/jimtcl/jimtcl-9999.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit multiprocessing eutils + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git" + inherit git-2 +else + inherit vcs-snapshot + SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip" + KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86" +fi + +DESCRIPTION="Small footprint implementation of Tcl programming language" +HOMEPAGE="http://jim.tcl.tk/" + +LICENSE="LGPL-2" +SLOT="0" +IUSE="doc static-libs" + +RDEPEND="" +DEPEND="doc? ( app-text/asciidoc ) + app-arch/unzip" + +src_unpack() { + if [[ ${PV} == "9999" ]] ; then + git-2_src_unpack + else + default + cd "${WORKDIR}"/msteveb-jimtcl-* + S=${PWD} + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.75-bootstrap.patch +} + +src_configure() { + multijob_init + CCACHE=None multijob_child_init econf --with-jim-shared + if use static-libs ; then + # The build does not support doing both simultaneously. + mkdir static-libs + cd static-libs + CCACHE=None ECONF_SOURCE=${S} multijob_child_init econf + fi + multijob_finish +} + +src_compile() { + # Must build static-libs first. + use static-libs && emake -C static-libs libjim.a + emake all + use doc && emake docs +} + +src_install() { + dobin jimsh + use static-libs && dolib.a static-libs/libjim.a + ln -sf libjim.so.* libjim.so + dolib.so libjim.so* + insinto /usr/include + doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h \ + jim-win32compat.h jim-eventloop.h jim-config.h + dodoc AUTHORS README TODO + use doc && dohtml Tcl.html +} diff --git a/dev-lang/jimtcl/metadata.xml b/dev-lang/jimtcl/metadata.xml new file mode 100644 index 000000000000..7c5abccdbad6 --- /dev/null +++ b/dev-lang/jimtcl/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>hwoarang@gentoo.org</email> + <name>Markos Chandras</name> + </maintainer> + <upstream> + <remote-id type="github">msteveb/jimtcl</remote-id> + </upstream> +</pkgmetadata> |