summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2002-08-03 04:19:45 +0000
committerGeorge Shapovalov <george@gentoo.org>2002-08-03 04:19:45 +0000
commit66a0085f20d4fed809a036cd85cbdaf7bc643194 (patch)
tree852642ae8ee06ec655f13dedb14130ed8894e6c9 /dev-util/cutils
parentremoved commented out lam-mpi entry and commed out netbeans (both checked (diff)
downloadgentoo-2-66a0085f20d4fed809a036cd85cbdaf7bc643194.tar.gz
gentoo-2-66a0085f20d4fed809a036cd85cbdaf7bc643194.tar.bz2
gentoo-2-66a0085f20d4fed809a036cd85cbdaf7bc643194.zip
new package - c utils
Diffstat (limited to 'dev-util/cutils')
-rw-r--r--dev-util/cutils/ChangeLog17
-rw-r--r--dev-util/cutils/cutils-1.6.ebuild36
-rw-r--r--dev-util/cutils/files/cutils-1.6-gentoo.diff14
-rw-r--r--dev-util/cutils/files/digest-cutils-1.61
4 files changed, 68 insertions, 0 deletions
diff --git a/dev-util/cutils/ChangeLog b/dev-util/cutils/ChangeLog
new file mode 100644
index 000000000000..38fd8a287625
--- /dev/null
+++ b/dev-util/cutils/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for dev-util/cutils
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cutils/ChangeLog,v 1.1 2002/08/03 04:19:45 george Exp $
+
+*cutils-1.6 (01 Aug 2002)
+
+ 1 Aug 2002; George Shapovalov <george@gentoo.org> cutils-1.6.ebuildi, cutils-1.6-gentoo.diff :
+
+ initial release
+
+ The C language utilities collection is composed of: cdecl and cundecl (decode
+ and encode C type declarations), cobfusc (make a C source file unreadable but
+ compilable), chilight (highlight C source files), cunloop (unloop C loops),
+ yyextract (extract grammar rules from yacc grammar), and yyref (generate a
+ cross-reference for yacc input).
+
+ ebuild submitted by: Marius Bernklev <mariube@unixcore.com>
diff --git a/dev-util/cutils/cutils-1.6.ebuild b/dev-util/cutils/cutils-1.6.ebuild
new file mode 100644
index 000000000000..caf55ea5bbac
--- /dev/null
+++ b/dev-util/cutils/cutils-1.6.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cutils/cutils-1.6.ebuild,v 1.1 2002/08/03 04:19:45 george Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="C language utilities"
+HOMEPAGE="http://www.sigala.it/sandro/software.html#cutils"
+SRC_URI="http://www.sigala.it/sandro/files/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="x86"
+LICENSE="as-is"
+
+DEPEND="virtual/glibc"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ patch -p0 <${FILESDIR}/${PF}-gentoo.diff || die
+}
+
+src_compile() {
+ ./configure \
+ --host=${CHOST} \
+ --prefix=${DESTTREE} \
+ --infodir=${DESTTREE}/share/info \
+ --mandir=${DESTTREE}/share/man || die
+
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ dodoc COPYRIGHT CREDITS HISTORY INSTALL NEWS README
+}
diff --git a/dev-util/cutils/files/cutils-1.6-gentoo.diff b/dev-util/cutils/files/cutils-1.6-gentoo.diff
new file mode 100644
index 000000000000..a6c2e8a203cd
--- /dev/null
+++ b/dev-util/cutils/files/cutils-1.6-gentoo.diff
@@ -0,0 +1,14 @@
+--- cutils-1.6/doc/cutils.texi.orig 2001-07-15 17:13:26.000000000 +0200
++++ cutils-1.6/doc/cutils.texi 2002-07-14 17:52:32.000000000 +0200
+@@ -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/files/digest-cutils-1.6 b/dev-util/cutils/files/digest-cutils-1.6
new file mode 100644
index 000000000000..f4844b370242
--- /dev/null
+++ b/dev-util/cutils/files/digest-cutils-1.6
@@ -0,0 +1 @@
+MD5 8b9ec6fa72e209694f4412a092164b67 cutils-1.6.tar.gz 128722