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-tex/csindex |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-tex/csindex')
-rw-r--r-- | dev-tex/csindex/Manifest | 7 | ||||
-rw-r--r-- | dev-tex/csindex/csindex-2.11c-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-tex/csindex/files/csindex-2.11c-decl.patch | 25 | ||||
-rw-r--r-- | dev-tex/csindex/files/csindex-2.11c-flags.patch | 16 | ||||
-rw-r--r-- | dev-tex/csindex/metadata.xml | 18 |
5 files changed, 102 insertions, 0 deletions
diff --git a/dev-tex/csindex/Manifest b/dev-tex/csindex/Manifest new file mode 100644 index 000000000000..e9a35f4e2179 --- /dev/null +++ b/dev-tex/csindex/Manifest @@ -0,0 +1,7 @@ +AUX csindex-2.11c-decl.patch 711 SHA256 54b52db36a207bea29b6131ec08905e977788991ea65468383642f49de9981da SHA512 f17aae7a3b22c230671bec969349b2e610eee69d521167f705eabf78bd242b50afe128d1da355d6f22ae8ad096980c6b1cbb942ce56afc9556f9c645701cd1a7 WHIRLPOOL 3dcd404af4370dd9904c1d807d263d993b83ffe90c68d7389514695857ee1855c79a2ba73f5cd8963bbc0cbd2a07ec2da2ad8b4c30db8645dc1a58e76a5ec3f1 +AUX csindex-2.11c-flags.patch 432 SHA256 d2580164e336fb12a303db459e00530afe06c2950f668fd5d88a55aeafef0314 SHA512 af1be473ead18034b221d8eb3aa05067e1f8f8cb12d10ee4c3434b2a2fbe1f85bbb9268b938b3541ae66e44e12ea7c1aabd8518a91ee0100097013957e906067 WHIRLPOOL 8dd0576511e4dca3dbcb60f4e1d6ab6dbc20aa99052e016eda2b079160f266008edfce408913bef4d5163f0246430ff267549b1d4fd5038bf4d35a365853d19e +DIST csindex-19980713.tar.gz 31778 SHA256 3ccb0822c40862aab30d923d367d1f053b85ee3d79865cca5c76f1b80e6b57f7 SHA512 ab4d35c84272aa64f9613023412cf8fb8d0b565ffd1fe61b397f82911b6ff7c230c4f54ff44aa0ea5a512229e7ee9410a9257c3fc7ee1d0ba267151ab1704130 WHIRLPOOL bb2f40f52b96aebd0188b1d6a792b0d2cd37073d02acabd932ca16ce097d9f9c8b303345774fb0f9203e62e5bead9c059ee12bf97feb90c64d4594b8e41a0f1d +EBUILD csindex-2.11c-r1.ebuild 671 SHA256 4dc3812388eb56403d31915555142a0e1fcea563b28290073e71a941db373a57 SHA512 380e067ec106dcc60c09e122ad08a33abf877e860e7ab91121fd53ce311c71f5bc064ec51f4da0189f7d9dd8cd5c1035feabaeb5dd274dc075a97b2d7490c6d5 WHIRLPOOL 597c02071f0f59d7e21ae8d6740b82201b0a9378360f6ff0b98a3e9ffd24b3910ad36eafe0b6372b4e6016d47de067308d37b8af8131655560197c80dc6b8de7 +MISC ChangeLog 2501 SHA256 75e30f6a279093e67e713228bf534d939fa39c55add21910db9370e406f3633c SHA512 6e62d3f738d352386c530ae43f71c4a1036189b2ef3c2e433a6c3ec6aa08e60749cd826a88dacc357bb156bcc139d8fe3810ef169568c23d10620a59b87b39b6 WHIRLPOOL 807a5d78ba224426a53e00c79f9c516b5249d99164bee074c40f8f9a17b799cea0414bad92439ebd798fbd21c6f14fa8668a899b9e8ccb6e6e36b253ba2b1753 +MISC ChangeLog-2015 1621 SHA256 a9aa0a7ebea7c0f7a6bdbdb0cca73d31c6c8975e5f9a879e64458c9a80c42051 SHA512 762d2e04c55778abd0b74e51b986bc67017267932330f3fcc519701d42535f12dd8242b8b69e1b73d2d264bb385111aa15d8a80333e2aec45c600d3272321498 WHIRLPOOL ba9616a3ca0a1247cf26a0eb20a14f34e6111e8f413615cad300da6b6050d8cec65b7624a0dd65a63d3168a5dd83079bef0224b8014b23251ed81f4ec966efec +MISC metadata.xml 613 SHA256 5d5bc38c13a0df4e453e74e93b114259db170469f59a1c0723afdef8c69b0bc5 SHA512 5fd0ac0fda2aef4d3ad6bcdc4102b2eb3c28d296353702ed4c3ce8cf13be76d46f77736f5776b9310211063337a8859e6f1ba2adde3af07ecc04a0e0f9640ac4 WHIRLPOOL e839993812d710fb351df071abce50ae9a40c880c34f4c06ad3d67854f5570183d750ccdd799ef37c265a47d3d0ff7db796313c079a90b0430004eabc135de92 diff --git a/dev-tex/csindex/csindex-2.11c-r1.ebuild b/dev-tex/csindex/csindex-2.11c-r1.ebuild new file mode 100644 index 000000000000..7f4f09bbeba0 --- /dev/null +++ b/dev-tex/csindex/csindex-2.11c-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=3 + +inherit toolchain-funcs eutils + +MY_P="${PN}-19980713" + +DESCRIPTION="Utility for creating Czech/Slovak-sorted LaTeX index-files" +HOMEPAGE="http://math.feld.cvut.cz/olsak/cstex/" +SRC_URI="ftp://math.feld.cvut.cz/pub/cstex/base/${MY_P}.tar.gz" + +LICENSE="MakeIndex" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}/${P}-flags.patch" \ + "${FILESDIR}/${P}-decl.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" || die "make failed" +} + +src_install() { + dobin csindex || die + dodoc README +} diff --git a/dev-tex/csindex/files/csindex-2.11c-decl.patch b/dev-tex/csindex/files/csindex-2.11c-decl.patch new file mode 100644 index 000000000000..c02d456f181f --- /dev/null +++ b/dev-tex/csindex/files/csindex-2.11c-decl.patch @@ -0,0 +1,25 @@ +Index: csindex-19980713/mkind.c +=================================================================== +--- csindex-19980713.orig/mkind.c ++++ csindex-19980713/mkind.c +@@ -32,6 +32,8 @@ + #ifdef CS_INDEX + #include <string.h> + #endif ++#include <unistd.h> ++ + + int letter_ordering = FALSE; + int compress_blanks = FALSE; +Index: csindex-19980713/mkind.h +=================================================================== +--- csindex-19980713.orig/mkind.h ++++ csindex-19980713/mkind.h +@@ -720,6 +720,7 @@ extern void scan_idx ARGS((void)); + extern void scan_sty ARGS((void)); + extern void sort_idx ARGS((void)); + extern int strtoint ARGS((char *str)); ++char *strlwr(char *a); + + #if __STDC__ + #include <stdlib.h> diff --git a/dev-tex/csindex/files/csindex-2.11c-flags.patch b/dev-tex/csindex/files/csindex-2.11c-flags.patch new file mode 100644 index 000000000000..f13914b2eeed --- /dev/null +++ b/dev-tex/csindex/files/csindex-2.11c-flags.patch @@ -0,0 +1,16 @@ +Index: csindex-19980713/Makefile +=================================================================== +--- csindex-19980713.orig/Makefile ++++ csindex-19980713/Makefile +@@ -1,9 +1,9 @@ + DEFS=-DOS_SYSV + OBJS=csindex.o genind.o mkind.o qsort.o scanid.o scanst.o sortid.o +-CFLAGS= -O2 $(DEFS) ++CFLAGS+= $(DEFS) + + all: csindex + + csindex: $(OBJS) +- $(CC) -o csindex $(DEFS) $(OBJS) -lm ++ $(CC) $(LDFLAGS) -o csindex $(DEFS) $(OBJS) -lm + diff --git a/dev-tex/csindex/metadata.xml b/dev-tex/csindex/metadata.xml new file mode 100644 index 000000000000..b1b5a8307d1d --- /dev/null +++ b/dev-tex/csindex/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>malenko@email.cz</email> + <name>Jaromir Malenko</name> + <description>Jaromir is helping us with Czeck and Slovak support in + Gentoo. He is also a maintainer of cstetex. See bug #31657</description> +</maintainer> +<maintainer type="project"> + <email>tex@gentoo.org</email> + <name>Gentoo TeX Project</name> +</maintainer> +<maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> +</maintainer> +</pkgmetadata> |