[gentoo-commits] repo/gentoo:master commit in: sci-calculators/hexcalc/

2022-10-11 Thread Ionen Wolkens
commit: cb1572313ce54913b44c5849bbed23de33d94e10
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Oct 11 08:26:00 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Oct 11 08:56:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb157231

sci-calculators/hexcalc: pass -std=gnu89

Does not build with `clang -std=c2x`, early workaround for
when this will become a default.

(not actively hunting for these, merely revisiting packages
previously looked at for clang16 even if not an issue "yet").

Signed-off-by: Ionen Wolkens  gentoo.org>

 sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild 
b/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild
index 20e117cd6853..729630099a29 100644
--- a/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild
+++ b/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Simple hex calculator for X"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
@@ -32,6 +32,8 @@ PATCHES=(
 )
 
 src_configure() {
+   append-cflags -std=gnu89 # old codebase, incompatible with c2x
+
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
 }



[gentoo-commits] repo/gentoo:master commit in: sci-calculators/hexcalc/

2022-09-30 Thread Ionen Wolkens
commit: 22a88c72c06705bc13f4c7c09881aba1ee1b4780
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri Sep 30 08:39:40 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Sep 30 10:48:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22a88c72

sci-calculators/hexcalc: force gcc -E for imake's generation

Requires traditional cpp support and is broken in all sort of ways
with clang-cpp / -E. Can still use clang & friends for everything else.

Ideally these packages need to be built another way or last rited,
imake will just accumulate more problems.

Signed-off-by: Ionen Wolkens  gentoo.org>

 sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild 
b/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild
index e3c78faf52ab..20e117cd6853 100644
--- a/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild
+++ b/sci-calculators/hexcalc/hexcalc-1.11-r4.ebuild
@@ -23,6 +23,7 @@ DEPEND="
x11-base/xorg-proto"
 BDEPEND="
app-text/rman
+   sys-devel/gcc
>=x11-misc/imake-1.0.8-r1"
 
 PATCHES=(
@@ -32,7 +33,7 @@ PATCHES=(
 
 src_configure() {
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
-   IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
+   IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: sci-calculators/hexcalc/

2021-04-15 Thread Joonas Niilola
commit: ef7a79a4c856d9737cd85bcae0b934a58a5ea115
Author: Ionen Wolkens  gmail  com>
AuthorDate: Wed Apr 14 11:19:56 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 15 06:38:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef7a79a4

sci-calculators/hexcalc: fix build with -native-symlinks

Closes: https://bugs.gentoo.org/725330
Signed-off-by: Ionen Wolkens  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild 
b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
index e7618165080..c9740ad088e 100644
--- a/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
+++ b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,15 +16,19 @@ IUSE=""
 
 RDEPEND="x11-libs/libXaw"
 DEPEND="${RDEPEND}
-   x11-misc/imake
+   >=x11-misc/imake-1.0.8-r1
app-text/rman"
 
 S=${WORKDIR}/${PN}
 
 PATCHES=( "${FILESDIR}"/${PN}-{keypad,order}.diff )
 
+src_configure() {
+   CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+   IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
+}
+
 src_compile() {
-   xmkmf || die
emake \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \



[gentoo-commits] repo/gentoo:master commit in: sci-calculators/hexcalc/

2019-08-17 Thread David Seifert
commit: c9570430a069fc9600a662a0b85014a65c0af938
Author: David Seifert  gentoo  org>
AuthorDate: Sat Aug 17 11:19:22 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Aug 17 11:19:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9570430

sci-calculators/hexcalc: [QA] Version the distfile

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert  gentoo.org>

 sci-calculators/hexcalc/Manifest   | 2 +-
 sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-calculators/hexcalc/Manifest b/sci-calculators/hexcalc/Manifest
index cb7402cd75e..84dcd88cc81 100644
--- a/sci-calculators/hexcalc/Manifest
+++ b/sci-calculators/hexcalc/Manifest
@@ -1 +1 @@
-DIST hexcalc.tar.Z 18033 BLAKE2B 
6f6c8102cd1a2ffdb325bc0805bea02d8e186bc3da7cda3dd4830882f384cfaecc7dc1d0fc8873718bc850f80010a875653864be92edd6519ae4fd5033e53498
 SHA512 
f684d6d6bd6df3f7f0dd626345d8ef166b12513bb378e74f8c59c2b92970f99c665ca32585217e75d55bf0fd93b5fc5c6a5b73e8b438f4821c13219f8ac74766
+DIST hexcalc-1.11.tar.Z 18033 BLAKE2B 
6f6c8102cd1a2ffdb325bc0805bea02d8e186bc3da7cda3dd4830882f384cfaecc7dc1d0fc8873718bc850f80010a875653864be92edd6519ae4fd5033e53498
 SHA512 
f684d6d6bd6df3f7f0dd626345d8ef166b12513bb378e74f8c59c2b92970f99c665ca32585217e75d55bf0fd93b5fc5c6a5b73e8b438f4821c13219f8ac74766

diff --git a/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild 
b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
index 47681a7b93f..6bd8d47141e 100644
--- a/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
+++ b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,7 +7,7 @@ inherit toolchain-funcs
 
 DESCRIPTION="A simple hex calculator for X"
 HOMEPAGE="ftp://ftp.x.org/R5contrib/;
-SRC_URI="ftp://ftp.x.org/R5contrib/${PN}.tar.Z;
+SRC_URI="mirror://gentoo/${PN}.tar.Z -> ${P}.tar.Z"
 
 LICENSE="GPL-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sci-calculators/hexcalc/, sci-calculators/calculator/, sci-calculators/gonvert/, ...

2017-12-10 Thread Michał Górny
commit: 3959de2c8afeeff2b0d3e2062668d00133f48ec8
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 10 12:34:14 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 10 12:46:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3959de2c

sci-calculators/*: Update Manifest hashes

 sci-calculators/calcoo/Manifest| 2 +-
 sci-calculators/calculator/Manifest| 2 +-
 sci-calculators/datamash/Manifest  | 4 ++--
 sci-calculators/galculator/Manifest| 2 +-
 sci-calculators/gonvert/Manifest   | 2 +-
 sci-calculators/grpn/Manifest  | 2 +-
 sci-calculators/hcalc/Manifest | 2 +-
 sci-calculators/hexcalc/Manifest   | 2 +-
 sci-calculators/orpie/Manifest | 2 +-
 sci-calculators/pcalc/Manifest | 2 +-
 sci-calculators/qalculate-gtk/Manifest | 2 +-
 sci-calculators/qalculator/Manifest| 2 +-
 sci-calculators/speedcrunch/Manifest   | 4 ++--
 sci-calculators/tiemu/Manifest | 2 +-
 sci-calculators/tilp2/Manifest | 2 +-
 sci-calculators/transcalc/Manifest | 2 +-
 sci-calculators/wcalc/Manifest | 2 +-
 17 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/sci-calculators/calcoo/Manifest b/sci-calculators/calcoo/Manifest
index 3365c91f9a1..7693eec6429 100644
--- a/sci-calculators/calcoo/Manifest
+++ b/sci-calculators/calcoo/Manifest
@@ -1 +1 @@
-DIST calcoo-1.3.18.tar.gz 133605 SHA256 
7daa6f089922e6a65812d20374803335af4272a2716a4c148747b5620b2aa069 SHA512 
e03fd61abb1e5500a1e4eb91e732ced1c963770ddb85824430511cc5c14d1f5af1095e2fdc7b8b483afba94e3ac8381a001e0a42dccaa182c1a888e90afd14a7
 WHIRLPOOL 
027091bb65af9d9da7ecedbe861abcdcc04bdb7e16dc132e9e0b87d5d52b3b5513e00a631cc34c2b6a4a7320619661374719863f0e02965e08bb928da7ec5ba7
+DIST calcoo-1.3.18.tar.gz 133605 BLAKE2B 
4a753143dce8311c10bf6906bd6723f6109cede03bfc89051dd4d952e90becba473046654808381d7636b35c627ebc1522b24e488a59532ea3e656508ca72334
 SHA512 
e03fd61abb1e5500a1e4eb91e732ced1c963770ddb85824430511cc5c14d1f5af1095e2fdc7b8b483afba94e3ac8381a001e0a42dccaa182c1a888e90afd14a7

diff --git a/sci-calculators/calculator/Manifest 
b/sci-calculators/calculator/Manifest
index 25b11a453bd..58010888bf1 100644
--- a/sci-calculators/calculator/Manifest
+++ b/sci-calculators/calculator/Manifest
@@ -1 +1 @@
-DIST fox-1.7.54.tar.gz 5384000 SHA256 
c6b749b1392d13e60b20525ed2e2107b40b4d25e757b2ee1e3fb96f59db9f053 SHA512 
cf14a09f9a6a812ac87839a5df8fd68f693e59050695e8da5dbfe018676f29bc263e4f9208dc06419068e4140b826a0dcf70a8925fec379edf3e4d0d0b693795
 WHIRLPOOL 
bb2829e16921e9171c6dd7f24be76803485c7f884f16c8e45f4adbbe91b0128a0024617a6f35c705149aeac921f891042605cff3499c200ba916de114547fca3
+DIST fox-1.7.54.tar.gz 5384000 BLAKE2B 
8970872d1c626d7ac5b0f944e8ea26a29bb757e4c646116016eaa1eccc2c0328c5047438e87fb6c2deab0a65e2b34cc91e8458150329a3e574e93608694a2dec
 SHA512 
cf14a09f9a6a812ac87839a5df8fd68f693e59050695e8da5dbfe018676f29bc263e4f9208dc06419068e4140b826a0dcf70a8925fec379edf3e4d0d0b693795

diff --git a/sci-calculators/datamash/Manifest 
b/sci-calculators/datamash/Manifest
index a4fb6980bde..a47e3c76181 100644
--- a/sci-calculators/datamash/Manifest
+++ b/sci-calculators/datamash/Manifest
@@ -1,2 +1,2 @@
-DIST datamash-1.1.1.tar.gz 1912118 SHA256 
420819b3d7372ee3ce704add847cff7d08c4f8176c1d48735d4a632410bb801b SHA512 
8932ed5ec357348108cd559acada3bfdc12ee4e360d709d74a6a661bc55f80223baa493d9185be8816b550ef86ff1f760249deb77cbeee9aa1f4178043a1938f
 WHIRLPOOL 
7a2b3f54031c6fb7306eae986dd14213c0417e1fe815429ca071c35b86ec2123777d3d2e330ba2693de29dd317a531f0b1ad9c9c81a6b8cef69368cfa29d705a
-DIST datamash-1.2.tar.gz 1922522 SHA256 
e8d46fb22ccc77e5380f26cde622a733f363d388b04a2c22e7fb6de0e9d85996 SHA512 
afb0960ffa881e1112394f5e0355c7a6efea13d6bdcbccb9830a6cde617e13701ca361d62c8283b7a64a27135b2f54a75970b17a7d73a5f0ba914ab70f05c086
 WHIRLPOOL 
0a2299a7007cb67fad14d0b73f851b5c20d13434fcc9e1a54ec11adb2d834b475abd7c596d04bcd9c801d717eaf06f80c10f8559578806ba842af7435491498a
+DIST datamash-1.1.1.tar.gz 1912118 BLAKE2B 
256d3cc6e69b2bd6c16579137cd511a4f352f0073a83f90ff25a28993b72d5babb86bbf9525dc42146455b2b5f839a28d3ff5f611cd40384486a545a730fdd39
 SHA512 
8932ed5ec357348108cd559acada3bfdc12ee4e360d709d74a6a661bc55f80223baa493d9185be8816b550ef86ff1f760249deb77cbeee9aa1f4178043a1938f
+DIST datamash-1.2.tar.gz 1922522 BLAKE2B 
877a596aa486756199431d6eaae8f2005bf34b20cae9c94e94441069b0153b15bbab067198a7be9bf76c3e305067f5f1c8980274fcaf37f232748a3c99d61ed8
 SHA512 
afb0960ffa881e1112394f5e0355c7a6efea13d6bdcbccb9830a6cde617e13701ca361d62c8283b7a64a27135b2f54a75970b17a7d73a5f0ba914ab70f05c086

diff --git a/sci-calculators/galculator/Manifest 
b/sci-calculators/galculator/Manifest
index b6ec7ba90de..b7322b6a84c 100644
--- a/sci-calculators/galculator/Manifest
+++ b/sci-calculators/galculator/Manifest
@@ -1 +1 @@
-DIST galculator-2.1.4.tar.bz2 472989 SHA256 
01cfafe6606e7ec45facb708ef85efd6c1e8bb41001a999d28212a825ef778ae SHA512 

[gentoo-commits] repo/gentoo:master commit in: sci-calculators/hexcalc/

2017-01-02 Thread Justin Lecher
commit: 7019ea90bd0d417a4cab037ef4052b6b8fe14847
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Jan  2 22:06:14 2017 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Jan  2 22:09:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7019ea90

sci-calculators/hexcalc: Drop old

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher  gentoo.org>

 sci-calculators/hexcalc/hexcalc-1.11-r2.ebuild | 41 --
 sci-calculators/hexcalc/metadata.xml   | 10 +++
 2 files changed, 5 insertions(+), 46 deletions(-)

diff --git a/sci-calculators/hexcalc/hexcalc-1.11-r2.ebuild 
b/sci-calculators/hexcalc/hexcalc-1.11-r2.ebuild
deleted file mode 100644
index 5702a0f..
--- a/sci-calculators/hexcalc/hexcalc-1.11-r2.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="A simple hex calculator for X"
-HOMEPAGE="ftp://ftp.x.org/R5contrib/;
-SRC_URI="ftp://ftp.x.org/R5contrib/${PN}.tar.Z;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="x11-libs/libXaw"
-DEPEND="${RDEPEND}
-   x11-misc/imake
-   app-text/rman"
-
-S=${WORKDIR}/${PN}
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-*
-}
-
-src_compile() {
-   xmkmf || die
-   emake \
-   CC="$(tc-getCC)" \
-   CFLAGS="${CFLAGS}" \
-   CCLINK="$(tc-getCC)" \
-   LDOPTIONS="${LDFLAGS}"
-}
-
-src_install() {
-   dobin ${PN}
-   newman ${PN}.{man,1}
-}

diff --git a/sci-calculators/hexcalc/metadata.xml 
b/sci-calculators/hexcalc/metadata.xml
index dfcd92c..b1603ed 100644
--- a/sci-calculators/hexcalc/metadata.xml
+++ b/sci-calculators/hexcalc/metadata.xml
@@ -1,11 +1,11 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   s...@gentoo.org
-   Gentoo Science Project
-
-
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
   hexcalc is a mutli-radix calculator that offers the standard C
   integer operations.
 



[gentoo-commits] repo/gentoo:master commit in: sci-calculators/hexcalc/

2016-12-21 Thread Tobias Klausmann
commit: ef137840590affc804f19194691c26258956bf71
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Dec 21 09:56:09 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Dec 21 09:56:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef137840

sci-calculators/hexcalc-1.11-r3: stable on amd64

Gentoo-Bug: 597766

 sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild 
b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
index 47b4f3e..dd229a7 100644
--- a/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
+++ b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="ftp://ftp.x.org/R5contrib/${PN}.tar.Z;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="x11-libs/libXaw"



[gentoo-commits] repo/gentoo:master commit in: sci-calculators/hexcalc/files/, sci-calculators/hexcalc/

2016-10-21 Thread David Seifert
commit: 770b920c83efa811dc9d35b4582126d39504b075
Author: Gerhard Bräunlich  gmx  net>
AuthorDate: Fri Oct 21 08:16:25 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Oct 21 18:49:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=770b920c

sci-calculators/hexcalc: EAPI bump 4 -> 6

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2614

Signed-off-by: David Seifert  gentoo.org>

 sci-calculators/hexcalc/files/hexcalc-keypad.diff |  4 +--
 sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild| 39 +++
 2 files changed, 41 insertions(+), 2 deletions(-)

diff --git a/sci-calculators/hexcalc/files/hexcalc-keypad.diff 
b/sci-calculators/hexcalc/files/hexcalc-keypad.diff
index 1becd89..c24bc07 100644
--- a/sci-calculators/hexcalc/files/hexcalc-keypad.diff
+++ b/sci-calculators/hexcalc/files/hexcalc-keypad.diff
@@ -1,5 +1,5 @@
 hexcalc.c  1989-11-22 22:29:06.0 +0100
-+++ hexcalc.c.new  2006-11-27 11:38:07.0 +0100
+--- a/hexcalc.c
 b/hexcalc.c
 @@ -208,46 +208,73 @@
  };
  

diff --git a/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild 
b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
new file mode 100644
index ..47b4f3e
--- /dev/null
+++ b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A simple hex calculator for X"
+HOMEPAGE="ftp://ftp.x.org/R5contrib/;
+SRC_URI="ftp://ftp.x.org/R5contrib/${PN}.tar.Z;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="x11-libs/libXaw"
+DEPEND="${RDEPEND}
+   x11-misc/imake
+   app-text/rman"
+
+S=${WORKDIR}/${PN}
+
+PATCHES=( "${FILESDIR}"/${PN}-{keypad,order}.diff )
+
+src_compile() {
+   xmkmf || die
+   emake \
+   CC="$(tc-getCC)" \
+   CFLAGS="${CFLAGS}" \
+   CCLINK="$(tc-getCC)" \
+   LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+   dobin ${PN}
+   newman ${PN}.{man,1}
+}