net-im/reaim: use #!/sbin/openrc-run instead of #!/sbin/runscript
authorAustin English <wizardedit@gentoo.org>
Mon, 2 May 2016 21:48:09 +0000 (16:48 -0500)
committerAustin English <wizardedit@gentoo.org>
Mon, 2 May 2016 22:21:47 +0000 (17:21 -0500)
Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.2.26

net-im/reaim/files/reaim
net-im/reaim/reaim-0.8-r2.ebuild [new file with mode: 0644]

index f10cd7edcab4ae4f4a792849248cf702ade92c43..71bafae111366c74231561c565216b60bbfc1575 100644 (file)
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
diff --git a/net-im/reaim/reaim-0.8-r2.ebuild b/net-im/reaim/reaim-0.8-r2.ebuild
new file mode 100644 (file)
index 0000000..778f9c2
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="AIM transport proxy over NAT firewalls"
+HOMEPAGE="http://reaim.sourceforge.net/"
+SRC_URI="mirror://sourceforge/reaim/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=sys-apps/sed-4"
+RDEPEND="net-firewall/iptables"
+
+pkg_setup() {
+       tc-export CC
+}
+
+src_prepare() {
+       sed -i -e 's/gcc/$(CC) $(CFLAGS) $(LDFLAGS)/' \
+               -e 's/ -g / /'  Makefile || die "sed failed" #365863
+       default
+}
+
+src_install() {
+       local HTML_DOCS=( html )
+       einstalldocs
+       doman reaim.8
+       dosbin reaim
+       doinitd "${FILESDIR}"/reaim
+}