summaryrefslogtreecommitdiff
path: root/net-misc/cgterm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/cgterm
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/cgterm')
-rw-r--r--net-misc/cgterm/Manifest6
-rw-r--r--net-misc/cgterm/cgterm-1.6.ebuild32
-rw-r--r--net-misc/cgterm/files/cgterm-1.6-QA.patch46
-rw-r--r--net-misc/cgterm/metadata.xml5
4 files changed, 89 insertions, 0 deletions
diff --git a/net-misc/cgterm/Manifest b/net-misc/cgterm/Manifest
new file mode 100644
index 000000000000..71504e748978
--- /dev/null
+++ b/net-misc/cgterm/Manifest
@@ -0,0 +1,6 @@
+AUX cgterm-1.6-QA.patch 1404 SHA256 1d3991ecbf38835c7b1fa6c1a162d947de425fdb195ec5f5d4f68fb31152b835 SHA512 6ffa4e5f1bf7f9eff35b4b06905efc88e8ce9398482a574c18c21d487b21ddf54422cb8b980fa8cf4f7276def7da01cd12df679e629f29bfd1bb826b2e99984c WHIRLPOOL 10a5be1ead5e981bd38163d82a286a0c35f6f0d033c31801b6153c212141355bfd8926a881965a3bf275839886a85efb050fa886992a1346a9ad43446fec1974
+DIST cgterm-1.6.tar.gz 87887 SHA256 21b17a1f5178517c935b996d6f492dba9fca6a88bb7964f85cce8913f379a2a1 SHA512 a2f0fe07e64b947188a4aaf9abe22365551e0dcc65c2cffb1e09559a172be33e5dbfeb931095509b25fbe26487d2968b77b34605e50c6f1679225a4f3f7f1996 WHIRLPOOL 30227230bc1e3954badc8bc138532fd1d761eb6783fe6bbfed85a466dcc1cb7fa119a5331929199efb81a6765e1d434703d5400246f024b165d11590976fe457
+EBUILD cgterm-1.6.ebuild 715 SHA256 cec82255b77ff178f778923ace1d74a751730a89af5d4397e167c7662619f822 SHA512 4f6ddddd1e005803e2e2176d797d40e14c37ed5885a7501612d4d13ea4cc28075586001f98238ff346a9d117a74d1ec22cf0a90aebfdfffe874f0379eb79d9ff WHIRLPOOL 724d2b65e26fe7d31f34f4df51b10c65e8aef900d9ec9e3f105c9d672ef2636dff1a98fe89a21aec77f7ba50951030b33d9c6ffe25841c4efb0154535f6fa1f3
+MISC ChangeLog 2543 SHA256 f1e37d925cddc65a7a436972d7d8e3ee342085c0184c9c1e98dae3d2a421cc93 SHA512 6e515f184e88b98cb8322e25e303415433e5fd2cdb45045a0884d01fab2e4d91737a0cf66165d32c4d618fb09bb941e566a6077bf50e184eef34b9312c925796 WHIRLPOOL e6d9f11ef1b76743443b2b4f93a0d5e49777208a7964d243aa7e388416cac79c08705408470dda0df6b22e50012635bd447653298ba32c32a5efc43f25064dd7
+MISC ChangeLog-2015 1045 SHA256 5b1a93b6223704a7a70dcb64073693e60409de167ee3836e431bd6ab493b6d39 SHA512 ee70c9c51c2fabf67335ff836773ed97c9f294c28c32f5a98b69324f6aed8057848a0a4754f6c2ea995b19a6c22d8bee1eb34fc508f7cfaf04b85e4ae5dd1893 WHIRLPOOL 4920c3dfc6e6fc72973c98fed2e1246f6b8d78064394507457dc4bc5dced15fa501f1402cf57ef2f5cf4b974ba0ba6b9c222e39bec110888a85026d4a6dc8198
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/net-misc/cgterm/cgterm-1.6.ebuild b/net-misc/cgterm/cgterm-1.6.ebuild
new file mode 100644
index 000000000000..44b5057cb065
--- /dev/null
+++ b/net-misc/cgterm/cgterm-1.6.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="Connect to C64 telnet BBS's with the correct colours and font"
+HOMEPAGE="http://www.paradroid.net/cgterm/"
+SRC_URI="http://www.paradroid.net/cgterm/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~ppc x86"
+
+DEPEND=">=media-libs/libsdl-1.2.5"
+RDEPEND="${DEPEND}"
+
+src_unpack(){
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-QA.patch"
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} `sdl-config --cflags` -DPREFIX=\\\"/usr\\\"" || die
+}
+
+src_install() {
+ mkdir "${D}/usr"
+ emake install PREFIX="${D}/usr" LDFLAGS="`sdl-config --libs`" || die
+ rmdir "${D}/usr/etc"
+}
diff --git a/net-misc/cgterm/files/cgterm-1.6-QA.patch b/net-misc/cgterm/files/cgterm-1.6-QA.patch
new file mode 100644
index 000000000000..76d253bd8b27
--- /dev/null
+++ b/net-misc/cgterm/files/cgterm-1.6-QA.patch
@@ -0,0 +1,46 @@
+diff -NrU5 cgterm-1.6.original/Makefile cgterm-1.6/Makefile
+--- cgterm-1.6.original/Makefile 2009-09-07 08:43:52.000000000 -0600
++++ cgterm-1.6/Makefile 2009-09-07 09:06:07.000000000 -0600
+@@ -8,11 +8,11 @@
+ # for solaris:
+ #SOCKETLIBS = -lsocket -lnsl
+
+ CC=gcc
+ CFLAGS=-O3 -Wall `sdl-config --cflags` -DPREFIX=\"$(PREFIX)\"
+-LDFLAGS=`sdl-config --libs` $(SOCKETLIBS)
++LDFLAGS+=`sdl-config --libs` $(SOCKETLIBS)
+
+
+ OBJS= \
+ kernal.o \
+ gfx.o \
+@@ -62,25 +62,22 @@
+
+ testimage: testimage.c diskimage.c dir.c
+ $(CC) -g -O3 -Wall -o testimage $^
+
+ install: all installdirs
+- strip cgterm$(EXESUFFIX)
+ cp cgterm$(EXESUFFIX) $(PREFIX)/bin/
+ cp cgchat$(EXESUFFIX) $(PREFIX)/bin/
+ cp *.bmp *.kbd *.wav $(PREFIX)/share/cgterm/
+ # cp cgterm.cfg $(PREFIX)/etc/
+ # cp cgchat.cfg $(PREFIX)/etc/
+
+-installdirs: $(PREFIX)/bin $(PREFIX)/share $(PREFIX)/share/cgterm $(PREFIX)/etc
++installdirs: $(PREFIX)/bin $(PREFIX)/share/cgterm $(PREFIX)/etc
+
+ $(PREFIX)/bin:
+- mkdir $(PREFIX)/bin > /dev/null 2>&1
+-$(PREFIX)/share:
+- mkdir $(PREFIX)/share > /dev/null 2>&1
++ mkdir -p $(PREFIX)/bin > /dev/null 2>&1
+ $(PREFIX)/share/cgterm:
+- mkdir $(PREFIX)/share/cgterm > /dev/null 2>&1
++ mkdir -p $(PREFIX)/share/cgterm > /dev/null 2>&1
+ $(PREFIX)/etc:
+- mkdir $(PREFIX)/etc > /dev/null 2>&1
++ mkdir -p $(PREFIX)/etc > /dev/null 2>&1
+
+ clean:
+ rm -f cgterm$(EXESUFFIX) cgchat$(EXESUFFIX) testkbd$(EXESUFFIX) *.o *~
diff --git a/net-misc/cgterm/metadata.xml b/net-misc/cgterm/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/net-misc/cgterm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>