From 327b60b2887f9006bbba5c5e1ad3ecc4bba73a79 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Sun, 2 Nov 2008 14:26:25 +0000 Subject: dev-util/uno: Version bump to 2.13, added ~amd64 keyword, cleanup. svn path=/sunrise/; revision=7294 --- dev-util/uno/ChangeLog | 7 +++++- dev-util/uno/Manifest | 8 +++---- dev-util/uno/files/2.11-makefile.patch | 31 ------------------------- dev-util/uno/files/2.13-makefile.patch | 30 ++++++++++++++++++++++++ dev-util/uno/uno-2.11.ebuild | 42 ---------------------------------- dev-util/uno/uno-2.13.ebuild | 39 +++++++++++++++++++++++++++++++ 6 files changed, 79 insertions(+), 78 deletions(-) delete mode 100644 dev-util/uno/files/2.11-makefile.patch create mode 100644 dev-util/uno/files/2.13-makefile.patch delete mode 100644 dev-util/uno/uno-2.11.ebuild create mode 100644 dev-util/uno/uno-2.13.ebuild (limited to 'dev-util/uno') diff --git a/dev-util/uno/ChangeLog b/dev-util/uno/ChangeLog index 6735013ab..e47c0399d 100644 --- a/dev-util/uno/ChangeLog +++ b/dev-util/uno/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for dev-util/uno -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 02 Nov 2008; Christian Ruppert (idl0r) + -files/2.11-makefile.patch, -uno-2.11.ebuild, +files/2.13-makefile.patch, + +uno-2.13.ebuild: + Version bump to 2.13, added ~amd64 keyword, cleanup. + 24 Jun 2007; Jakub Moc uno-2.11.ebuild: Fix LICENSE diff --git a/dev-util/uno/Manifest b/dev-util/uno/Manifest index 07a5d1e09..4b3f40346 100644 --- a/dev-util/uno/Manifest +++ b/dev-util/uno/Manifest @@ -1,5 +1,5 @@ -AUX 2.11-makefile.patch 966 RMD160 023f6349c44992cd179e4762bb08d99bbb8aba07 SHA1 f05cce0de3cf8ebe518b597a307f13c00b61c8a9 SHA256 ac60e8dfad8996c8802961936bad43f92faf196191d6a6307b79656a3dd88759 -DIST uno_v211.tar.gz 238506 RMD160 d60ce87065d8bb2fadec05d52ca65d33c72239ea SHA1 195ece442326d5636618f3d517fafbc7cdf80a38 SHA256 85b33ef066123343f2249a91d13a2eece996933703a33210b85d94615ef6c773 -EBUILD uno-2.11.ebuild 773 RMD160 4784a7420cc9bdb9cf22018e7e6a38d53861641e SHA1 351ddbc699b61206c1ea36310b236ead75902dab SHA256 6a81ea5e12e3ac5ff5c3ea91f8927a619c1a34650263922a9d409e1f1482b61d -MISC ChangeLog 879 RMD160 6434d46323f14009546dc8f1efa3e9ddedd87e92 SHA1 2f432a7bc072cdc3c519c5868bd20ed2bf1824f9 SHA256 953098d2c9c28331584d84d3cf7b88cf59b782296b1556fbb0e7ae2dd968db63 +AUX 2.13-makefile.patch 910 RMD160 5fb9310b1face6a734d8eaab3ad01816db6a4472 SHA1 a6d86440141070eec3197c52479dbf77d5c82725 SHA256 f36bd05a1458e39a9d1b8d6b728c79f9ae48189fb0e590002ba4728fc4029c01 +DIST uno_v213.tar.gz 239127 RMD160 20c9136a988e65e9345d67672536d86c6aa1d56c SHA1 299b810cb213a23d81c2abb24a6b13e6eec3617d SHA256 c688a5f7c68ba4b7c0907c6c2603703535c37b99b2a3927a391bd48c43d7bcbe +EBUILD uno-2.13.ebuild 727 RMD160 73728ec89ee5de9a1afb63c8fbb5d4abf7b49628 SHA1 7feec810c8264b1c8e4d07b5026e5fa68524de38 SHA256 70f16fd388ed93f129349fb10e0ca62f6080242ef814bbc8633da5c18e6b8841 +MISC ChangeLog 1093 RMD160 ed4c75f789cca79688a394b7ddd8f8687cfc7a8b SHA1 c5dab41e4eb6f7607826b457ecd2a40fb368af17 SHA256 667bdf99def03a81595425c4f83c06e7c07d1dc079a99130f72dfc82480015a0 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/dev-util/uno/files/2.11-makefile.patch b/dev-util/uno/files/2.11-makefile.patch deleted file mode 100644 index add97fb1c..000000000 --- a/dev-util/uno/files/2.11-makefile.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -Naur uno/src/makefile uno.new/src/makefile ---- uno/src/makefile 2006-01-09 02:14:00.000000000 +0100 -+++ uno.new/src/makefile 2006-07-03 13:01:42.000000000 +0200 -@@ -25,8 +25,8 @@ - # - BINDIR=/usr/bin/ - # note the terminal / in the above line is needed --CC=gcc --CFLAGS=-ansi -Wall -m32 -ggdb -DBINDIR=\"$(BINDIR)\" -+#CC=gcc -+MY_CFLAGS=$(CFLAGS) -ansi -Wall -DBINDIR=\"$(BINDIR)\" - - # on PC add: - # -DPC -@@ -65,13 +65,13 @@ - uno_generic.c uno_intervals.c uno_lts.c - - uno: uno.c -- $(CC) $(CFLAGS) -o uno uno.c -+ $(CC) $(MY_CFLAGS) -o uno uno.c - - uno_local: c_gram.h $(OFILES) -- $(CC) $(CFLAGS) -o uno_local $(OFILES) -+ $(CC) $(MY_CFLAGS) -o uno_local $(OFILES) - - uno_global: uno_global.o uno_fcts.o -- $(CC) $(CFLAGS) -o uno_global uno_global.o uno_fcts.o -+ $(CC) $(MY_CFLAGS) -o uno_global uno_global.o uno_fcts.o - - c_gram.c c_gram.h: c_gram.y tree.h symtab.h globals.h - bison -v -d -o c_gram.c c_gram.y # expect 6 shift/reduce 23 reduce/reduce conflicts diff --git a/dev-util/uno/files/2.13-makefile.patch b/dev-util/uno/files/2.13-makefile.patch new file mode 100644 index 000000000..90c64a971 --- /dev/null +++ b/dev-util/uno/files/2.13-makefile.patch @@ -0,0 +1,30 @@ +--- makefile.old 2008-11-02 14:43:33.000000000 +0100 ++++ makefile 2008-11-02 14:44:50.000000000 +0100 +@@ -25,8 +25,8 @@ + # + BINDIR=/usr/bin/ + # note the terminal / in the above line is needed +-CC=gcc +-CFLAGS=-ansi -Wall -m32 -ggdb -DBINDIR=\"$(BINDIR)\" ++#CC=gcc ++MY_CFLAGS=$(CFLAGS) -ansi -Wall -DBINDIR=\"$(BINDIR)\" + + # on PC add: + # -DPC +@@ -66,13 +66,13 @@ sharing: + uno_generic.c uno_intervals.c uno_lts.c + + uno: uno.c +- $(CC) $(CFLAGS) -o uno uno.c ++ $(CC) $(MY_CFLAGS) -o uno uno.c + + uno_local: c_gram.h $(OFILES) +- $(CC) $(CFLAGS) -o uno_local $(OFILES) ++ $(CC) $(MY_CFLAGS) -o uno_local $(OFILES) + + uno_global: uno_global.o uno_fcts.o +- $(CC) $(CFLAGS) -o uno_global uno_global.o uno_fcts.o ++ $(CC) $(MY_CFLAGS) -o uno_global uno_global.o uno_fcts.o + + c_gram.c c_gram.h: c_gram.y tree.h symtab.h globals.h + bison -v -d -o c_gram.c c_gram.y # expect 6 shift/reduce 23 reduce/reduce conflicts diff --git a/dev-util/uno/uno-2.11.ebuild b/dev-util/uno/uno-2.11.ebuild deleted file mode 100644 index f4c4bfd39..000000000 --- a/dev-util/uno/uno-2.11.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils toolchain-funcs - -DESCRIPTION="A tool for analyzing the source code of programs written in ANSI-C" -HOMEPAGE="http://spinroot.com/uno/" -SRC_URI="http://spinroot.com/${PN}/${PN}_v${PV/./}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~x86" -IUSE="doc" - -DEPEND="" -RDEPEND="" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - epatch "${FILESDIR}/${PV}-makefile.patch" -} - -src_compile() { - cd "${S}/src" - emake CC="$(tc-getCC)" || die "emake failed" -} - -src_install() { - dobin src/uno src/uno_local src/uno_global - doman doc/uno.1 - - insinto /usr/share/${PN} - doins -r prop - - if use doc ; then - insinto /usr/share/doc/${PF} - doins doc/*.pdf - fi -} diff --git a/dev-util/uno/uno-2.13.ebuild b/dev-util/uno/uno-2.13.ebuild new file mode 100644 index 000000000..9f72cf44f --- /dev/null +++ b/dev-util/uno/uno-2.13.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils toolchain-funcs + +DESCRIPTION="A tool for analyzing the source code of programs written in ANSI-C" +HOMEPAGE="http://spinroot.com/uno/" +SRC_URI="http://spinroot.com/${PN}/${PN}_v${PV/./}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +S="${WORKDIR}/${PN}/src" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PV}-makefile.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" || die "emake failed" +} + +src_install() { + dobin uno uno_local uno_global + doman ../doc/uno.1 + + insinto /usr/share/${PN} + doins -r ../prop + + if use doc ; then + dodoc ../doc/*.pdf + fi +} -- cgit v1.2.3-65-gdbad