summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gentoo.org>2008-11-20 02:49:27 +0000
committerTiago Cunha <tcunha@gentoo.org>2008-11-20 02:49:27 +0000
commit23f96bad9d2afc14e556f85ec145df919306de53 (patch)
treeccec1467f2e0927048080f749286975493bf1fe4 /dev-util/cutils
parentFix whitespace. (diff)
downloadhistorical-23f96bad9d2afc14e556f85ec145df919306de53.tar.gz
historical-23f96bad9d2afc14e556f85ec145df919306de53.tar.bz2
historical-23f96bad9d2afc14e556f85ec145df919306de53.zip
Revision bump:
- Remove unneeded (R)DEPEND. - Use econf instead of configure. - Use emake instead of make in src_install. - Use die messages to ease error identification. - Don't dodoc COPYRIGHT, and INSTALL. Package-Manager: portage-2.1.4.5
Diffstat (limited to 'dev-util/cutils')
-rw-r--r--dev-util/cutils/ChangeLog12
-rw-r--r--dev-util/cutils/Manifest9
-rw-r--r--dev-util/cutils/cutils-1.6-r3.ebuild40
3 files changed, 56 insertions, 5 deletions
diff --git a/dev-util/cutils/ChangeLog b/dev-util/cutils/ChangeLog
index 747f04133a7c..b50124e788b0 100644
--- a/dev-util/cutils/ChangeLog
+++ b/dev-util/cutils/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for dev-util/cutils
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cutils/ChangeLog,v 1.23 2008/11/20 01:51:30 tcunha Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cutils/ChangeLog,v 1.24 2008/11/20 02:49:27 tcunha Exp $
+
+*cutils-1.6-r3 (20 Nov 2008)
+
+ 20 Nov 2008; Tiago Cunha <tcunha@gentoo.org> +cutils-1.6-r3.ebuild:
+ Revision bump:
+ - Remove unneeded (R)DEPEND.
+ - Use econf instead of configure.
+ - Use emake instead of make in src_install.
+ - Use die messages to ease error identification.
+ - Don't dodoc COPYRIGHT, and INSTALL.
20 Nov 2008; Tiago Cunha <tcunha@gentoo.org>
-files/cutils-1.6-gentoo.diff:
diff --git a/dev-util/cutils/Manifest b/dev-util/cutils/Manifest
index 1194a705ceec..cfe854d501b8 100644
--- a/dev-util/cutils/Manifest
+++ b/dev-util/cutils/Manifest
@@ -4,12 +4,13 @@ Hash: SHA1
AUX cutils-1.6-r1-gentoo.diff 683 RMD160 97fa4a9a8e3797439a18b4d3795a2c4771acb2d4 SHA1 77a881f99c59139da8cd35051ea461b5adbef6f7 SHA256 ac25db32317bcbe453fdb56df77ceb28c2ab90dbc0251c69cb7b4b59aa876496
DIST cutils-1.6.tar.gz 128722 RMD160 416757ddf6c546c55d992ab494fde8b5e394a7cc SHA1 788b8b4ec478285ac129021607974657fc501fa3 SHA256 b26c22f2ca3905579273e132708094e95b4fe2a0576ce4bea8a7cbfc7a0084b8
EBUILD cutils-1.6-r2.ebuild 1220 RMD160 61a20c3c2f7258d7b986d6d1708983d0d98f3aca SHA1 a62182103664af960594fd54c4105e5a8d3aefc6 SHA256 144621429bbe9c2598804a67fc6f8cb52dd6b704a64732d073473c5c1cc70b65
-MISC ChangeLog 3129 RMD160 a8908bcdd90b31251b5c0fe70dc4dece4115e31f SHA1 5a10f67fab4464a9b9e9221a0a69b137e05660e6 SHA256 f3c36fbd4685b878ae01e576d6e10e49a2218808b9e184373b8a55e374354082
+EBUILD cutils-1.6-r3.ebuild 1080 RMD160 66c07756d7af99c4cc80cf5e6227deec5f4e0b53 SHA1 e5e72f8e7b07120de595dbb7d104002823e818eb SHA256 2015731b055895bbd420f4696816e345f4567a21b2ab11bff6b65e9d239a9ed9
+MISC ChangeLog 3451 RMD160 6726451d5b3b107fd5315f2bf863fe357fdcc927 SHA1 72a741c30fdbe45861aa10087484cf3dedf845c2 SHA256 dbc1dd01693db5afee0eadfeee55c9361f0c0a8e6a22feb9c966db50997d715c
MISC metadata.xml 225 RMD160 0c7ee041a1ed16698f838eac741b68d89d615678 SHA1 923116b3cf66bda77e8dcd6fa0a3074b5e93c207 SHA256 1faca7219bc92762667167fb195e2a13af043f5c76f8194a5c8a3916104267e4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkkkx7IACgkQ/Kkm35zQzl607gCeNij/7FvMcSF+leccgx1P8IlZ
-J50AmQGaZz/P9APhv5+3XZZxHJxRB15R
-=Iu2z
+iEYEARECAAYFAkkk1UMACgkQ/Kkm35zQzl4XeQCfdF6aO2cUGCMLegzzJQujvXna
+tyIAoL/n0EwQOuFjDn0iyvI95mlkxyuQ
+=7h5P
-----END PGP SIGNATURE-----
diff --git a/dev-util/cutils/cutils-1.6-r3.ebuild b/dev-util/cutils/cutils-1.6-r3.ebuild
new file mode 100644
index 000000000000..c6d756ecc325
--- /dev/null
+++ b/dev-util/cutils/cutils-1.6-r3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cutils/cutils-1.6-r3.ebuild,v 1.1 2008/11/20 02:49:27 tcunha Exp $
+
+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 ~sparc ~x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${P}-r1-gentoo.diff
+ cd "${S}"/src/cdecl
+ mv cdecl.1 cutils-cdecl.1
+ for file in "${S}"/doc/*; do
+ sed -e 's/cdecl/cutils-cdecl/g' -i "${file}"
+ done
+ sed -e 's/Xr cdecl/Xr cutils-cdecl/' -i "${S}"/src/cundecl/cundecl.1
+}
+
+src_compile() {
+ econf
+ emake CC="$(tc-getCC)" -j1 || die "emake failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc CREDITS HISTORY NEWS README || die "dodoc failed"
+}
+
+pkg_postinst () {
+ elog "cdecl was installed as cutils-cdecl because of a naming conflict"
+ elog "with dev-util/cdecl."
+}