summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@astralcloak.net>2012-04-09 20:04:12 +1000
committerMichael Palimaka <kensington@astralcloak.net>2012-04-09 20:04:12 +1000
commit5cf57c83c590177f4ec9df604917a8132a8781a5 (patch)
tree7f2ad97d3ad52883256954ab991b5ae7545baec3 /app-editors
parentsys-process/ts: Version bump. Add blockers to fix bug #285276. Don't install ... (diff)
downloadsunrise-5cf57c83c590177f4ec9df604917a8132a8781a5.tar.gz
sunrise-5cf57c83c590177f4ec9df604917a8132a8781a5.tar.bz2
sunrise-5cf57c83c590177f4ec9df604917a8132a8781a5.zip
app-editors/hexer: Version bump. Respect build variables, add missing dep, install additional tool. Thanks to mgorny for review.
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/hexer/ChangeLog9
-rw-r--r--app-editors/hexer/Manifest7
-rw-r--r--app-editors/hexer/files/hexer-0.1.7-qa.patch18
-rw-r--r--app-editors/hexer/hexer-0.1.7.ebuild (renamed from app-editors/hexer/hexer-0.1.5.ebuild)24
4 files changed, 50 insertions, 8 deletions
diff --git a/app-editors/hexer/ChangeLog b/app-editors/hexer/ChangeLog
index ef0aeaa8f..3c494bcc8 100644
--- a/app-editors/hexer/ChangeLog
+++ b/app-editors/hexer/ChangeLog
@@ -1,7 +1,14 @@
# ChangeLog for app-editors/hexer
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*hexer-0.1.7 (09 Apr 2012)
+
+ 09 Apr 2012; Michael Palimaka (kensington) <kensington@astralcloak.net>
+ -hexer-0.1.5.ebuild, +hexer-0.1.7.ebuild, +files/hexer-0.1.7-qa.patch:
+ Version bump. Respect build variables, add missing dep, install additional
+ tool. Thanks to mgorny for review.
+
05 Apr 2010; James Broadhead (hangfire) <jamesbroadhead@gmail.com>
+hexer-0.1.5.ebuild, +metadata.xml:
New package, bug 313039 thanks to jlec, mjo and Tommy[D]
diff --git a/app-editors/hexer/Manifest b/app-editors/hexer/Manifest
index 9081429a5..3d49ac317 100644
--- a/app-editors/hexer/Manifest
+++ b/app-editors/hexer/Manifest
@@ -1,4 +1,5 @@
-DIST hexer-0.1.5.tar.gz 133949 RMD160 02a789b96bc3dae3ecc956f22c46a10912ec0123 SHA1 34e87c139b2da4cf147269c15954ea61e845f70e SHA256 bd171b4ee4c678f5c545fda1431aebbea01acff9d4bc2adbbb8584a8b2d31a02
-EBUILD hexer-0.1.5.ebuild 437 RMD160 89d7610e24e179edb7b871429a4d1922ab088bb9 SHA1 c7083abc53bf57c731ba02630f22a4961d7e36bf SHA256 677ec1cdc06d4f01a4045c25a4e649427105d29e84ef5e8375f3aaedcaa7cf7d
-MISC ChangeLog 285 RMD160 60a609f2803af24b6684e9960505b7885617eec3 SHA1 0d77709f4294ab972850e899520f75c617d42757 SHA256 e6295692c3974fa318c417761db04f6febb3f0547842c8e15f8beb72b8fdec2f
+AUX hexer-0.1.7-qa.patch 419 RMD160 eb181f3026341e6b789aeb8b1ff19a584bb8fdf5 SHA1 3e4c8524ee9c18f7f906cd6ae378e7ca6806276e SHA256 1c3b7ee2076d790e40076b1fbdd8041966636af6c0c1d75c0e3e327a43929eb7
+DIST hexer-0.1.7.tar.gz 134709 RMD160 759ecc174a43676d1ab99cf6587276b1a2a4d1f4 SHA1 9330922be78f3a6c2363668c941c6582493877a4 SHA256 f71da25c4c820f92345e6e76fde7738533ec8cd6f47896eb5b568f4c98265cb1
+EBUILD hexer-0.1.7.ebuild 606 RMD160 2c152431ac87a66dda571b3a92c970108f5eea1c SHA1 e3275d9bcf167e52835d9695c870ddbc7ded336b SHA256 8a0de492e08b708e43589e08d6a0a88e2bbae6171e24d900397f66ac83ec5f1a
+MISC ChangeLog 575 RMD160 e149ca92ab4d7c8c7918bc82798e3669f9126909 SHA1 9de8d456bc132e9ebfd83e0202357ef705acf1c0 SHA256 2e949d91ac98e37ef329abbc4ba3be585c8bb066d74470ba462ca1683c8cdbd3
MISC metadata.xml 209 RMD160 184537d7a401571abe0e5cbf9258ba3947d19382 SHA1 f2ea13baedca19e24be6ed7c3e6b765f7ff67cba SHA256 b0f0595f625235a62d9d40753827ae160e42156371fd9568bd2779042517f5e8
diff --git a/app-editors/hexer/files/hexer-0.1.7-qa.patch b/app-editors/hexer/files/hexer-0.1.7-qa.patch
new file mode 100644
index 000000000..904d645e8
--- /dev/null
+++ b/app-editors/hexer/files/hexer-0.1.7-qa.patch
@@ -0,0 +1,18 @@
+--- Makefile
++++ Makefile
+@@ -76,13 +76,13 @@
+ fi; }
+
+ $(HEXER): $(OBJECTS)
+- $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LDLIBS)
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJECTS) $(LDLIBS)
+
+ $(MYC): calc.c
+ $(CC) $(LDFLAGS) $(CFLAGS) -DMYCALC=1 -o $@ calc.c -lm
+
+ bin2c: bin2c.c
+- $(CC) $(CFLAGS) -o $@ bin2c.c
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ bin2c.c
+
+ helptext.c: help.txt bin2c
+ ./bin2c -n helptext -o $@ help.txt
diff --git a/app-editors/hexer/hexer-0.1.5.ebuild b/app-editors/hexer/hexer-0.1.7.ebuild
index 302eb554c..d335a9f4e 100644
--- a/app-editors/hexer/hexer-0.1.5.ebuild
+++ b/app-editors/hexer/hexer-0.1.7.ebuild
@@ -2,7 +2,11 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-DESCRIPTION="Hex Editor with vi/ex-style user interface"
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Hex editor with vi/ex-style user interface"
HOMEPAGE="http://devel.ringlet.net/editors/hexer/"
SRC_URI="http://devel.ringlet.net/editors/${PN}/${P}.tar.gz"
@@ -11,8 +15,20 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-qa.patch
+}
+
+src_compile() {
+ tc-export CC
+ default
+}
+
src_install() {
- dobin ${PN} || die
- doman ${PN}.1 || die
- dodoc CHANGES README || die
+ dobin ${PN} bin2c
+ doman ${PN}.1
+ dodoc CHANGES README
}