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-util/cutils |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/cutils')
-rw-r--r-- | dev-util/cutils/Manifest | 7 | ||||
-rw-r--r-- | dev-util/cutils/cutils-1.6-r4.ebuild | 52 | ||||
-rw-r--r-- | dev-util/cutils/files/cutils-1.6-case-insensitive.patch | 14 | ||||
-rw-r--r-- | dev-util/cutils/files/cutils-infopage.patch | 16 | ||||
-rw-r--r-- | dev-util/cutils/metadata.xml | 5 |
5 files changed, 94 insertions, 0 deletions
diff --git a/dev-util/cutils/Manifest b/dev-util/cutils/Manifest new file mode 100644 index 000000000000..683f5cd0deaf --- /dev/null +++ b/dev-util/cutils/Manifest @@ -0,0 +1,7 @@ +AUX cutils-1.6-case-insensitive.patch 312 SHA256 6b0a65af5b54376fa3d212d1e648fe7316254e1b9ef67d0294f9cd08fae73433 SHA512 d2eb81f3fece124cf0bad215f19bcaf805ee006dd673f39c3f7eae92904fbeafc77bc1fae6bc0e5f70613180ca29e015145654cfc5dab2ea75cdeb08d636335e WHIRLPOOL cc3fe1380668ee8ca9a1a6f0af90196495dc1f280f4b6652417614b016f5e9e783d1cb8a229561a78b1ab10f825dd66d1d9241cb547d1fbe8ea27fb812c5f8c0 +AUX cutils-infopage.patch 458 SHA256 d1acd947f51cf0e294e3ddb603961aa7055c844ce0cbd664f8fe605ce9035981 SHA512 53fbcaec4fdaf1b7804752f952f6fa2f8715601be2ce5185557c2a1378504b7158c398f59e674eed9fc30e95e51157ce8c4c8f71e9a08c63daf97efd7210eba6 WHIRLPOOL da3b6829cacfa2b6b49ba8aa085d8dafa3c548ce64f00f0e283c32338002ef9496c0c12a3d01482692bb1507fb063da864b3ed6741905d216a22761f8fe0cc54 +DIST cutils-1.6.tar.gz 128722 SHA256 b26c22f2ca3905579273e132708094e95b4fe2a0576ce4bea8a7cbfc7a0084b8 SHA512 49a0f6ed210be01eec335903dee7ac6000bfa9d9c05a31b9a9fd6ae8534c8058d774f884d55b2b9fa029abc30beeca1866d8a74389b76158ebb216fb3dfad6eb WHIRLPOOL 37285efc69c8be9075fed1d11147d1dc2955f08e7a1449afca5355916566298fa71b9e7d48156860c52dfaa782b06d604c3481ed4c75b4205aae0897c4da9ac3 +EBUILD cutils-1.6-r4.ebuild 1251 SHA256 19d514210a3bab6e1a5ff2c9043d41ab2afd394c37d7188b8540bbca95fee1f9 SHA512 ccfde76e2884a85680e59d79878f3bf26ddfe01ad7f243b634c84e964f62e223674effbe00ed95b13494deb83af79e8c62d4a793d9c00a0ce07fb102b6465da7 WHIRLPOOL dfdd6c046905eaed0d3944455c7a899f4d09eb33962a79f164c96b11b88c717a3edb29db98bd2cac3a67cc2ad6850cc9cf6540d90fb3764b5610d389fa5a97a1 +MISC ChangeLog 2595 SHA256 6415cae319c23b39ba789a526c1c9348e1980f537a0555dc1114c2577137ce99 SHA512 6e847b3b4901849ff02a4060c67a8a1054ebeecd3a9280f70c9d5aff7b71e4b618b370837e8ac909e6ef4ab8d33bd76e689478868209e4a91d805e753ebf6252 WHIRLPOOL 5f64982a3d2f59088ff6d3e1e4d61662987f13df88dafb2086661bc5cfb9d06763e36e87a7b6022f0d4a47283ec6ef10197d63185bbb304a8fd03b67461e96ff +MISC ChangeLog-2015 4745 SHA256 33bc473d62719d174cc97a9d8ca95d7387d0e056f29ae92dec0c739007a27d5b SHA512 09e0fd4c3fea341f1745b381209bd310990d0b71a9d1d01056c860993b711612f41f7eb7c64c242a823c09184c1440c2f68f9e029531fda755967651bc0d7baf WHIRLPOOL d50fa4c3752f597caaa6110288cfbe534bda287f0cd9fb37eccfcc1e4423539848e349a6ec379f75ae8375913f098f849b62fecb07352c6ea89873d3da769755 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-util/cutils/cutils-1.6-r4.ebuild b/dev-util/cutils/cutils-1.6-r4.ebuild new file mode 100644 index 000000000000..8f333cb5c84e --- /dev/null +++ b/dev-util/cutils/cutils-1.6-r4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="C language utilities" +HOMEPAGE="http://www.sigala.it/sandro/software.php#cutils" +SRC_URI="http://www.sigala.it/sandro/files/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +RDEPEND="" +DEPEND="sys-devel/flex" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-infopage.patch + + epatch "${FILESDIR}"/${P}-case-insensitive.patch + + mv "${S}"/src/cdecl/cdecl.1 \ + "${S}"/src/cdecl/cutils-cdecl.1 || die + # Force rebuild of cutils.info + rm -f "${S}"/doc/cutils.info || die + + sed -e "s/cdecl/cutils-cdecl/g" \ + -i "${S}"/doc/cutils.texi || die + sed -e "/PROG/s/cdecl/cutils-cdecl/" \ + -i "${S}"/src/cdecl/Makefile.in || die + sed -e "/Xr/s/cdecl/cutils-cdecl/" \ + -i "${S}"/src/cundecl/cundecl.1 || die + sed -i "/Nm/s/cdecl/cutils-cdecl/" \ + "${S}"/src/cdecl/cutils-cdecl.1 || die +} + +src_compile() { + emake CC="$(tc-getCC)" -j1 +} + +src_install () { + emake DESTDIR="${D}" install + dodoc CREDITS HISTORY NEWS README +} + +pkg_postinst () { + elog "cdecl was installed as cutils-cdecl because of a naming conflict" + elog "with dev-util/cdecl." +} diff --git a/dev-util/cutils/files/cutils-1.6-case-insensitive.patch b/dev-util/cutils/files/cutils-1.6-case-insensitive.patch new file mode 100644 index 000000000000..67318d0f55d8 --- /dev/null +++ b/dev-util/cutils/files/cutils-1.6-case-insensitive.patch @@ -0,0 +1,14 @@ +* On case insensitive filesystems, INSTALL is seen as the target install, + resulting in no installation at all. + +--- cutils-1.6/Makefile.in ++++ cutils-1.6/Makefile.in +@@ -8,6 +8,8 @@ + (cd $$f && $(MAKE) $@); \ + done + ++.PHONY : install ++ + distclean: + @for f in $(subdirs); do \ + (cd $$f && $(MAKE) $@); \ diff --git a/dev-util/cutils/files/cutils-infopage.patch b/dev-util/cutils/files/cutils-infopage.patch new file mode 100644 index 000000000000..2b19aeee2d6e --- /dev/null +++ b/dev-util/cutils/files/cutils-infopage.patch @@ -0,0 +1,16 @@ +# Add category, and entry to the texinfo document. + +--- cutils-1.6/doc/cutils.texi.orig 2008-11-24 23:18:41.732038120 +0000 ++++ cutils-1.6/doc/cutils.texi 2008-11-24 23:18:27.907038555 +0000 +@@ -7,6 +7,11 @@ + @c unwise to comment it out when running a master in case there are + @c overfulls which are deemed okay. + ++@dircategory Programming ++@direntry ++* cutils: (cutils). C language utilities. ++@end direntry ++ + @iftex + @c @finalout + @end iftex diff --git a/dev-util/cutils/metadata.xml b/dev-util/cutils/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-util/cutils/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |