summaryrefslogtreecommitdiff
path: root/app-text/tofrodos
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 /app-text/tofrodos
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/tofrodos')
-rw-r--r--app-text/tofrodos/Manifest6
-rw-r--r--app-text/tofrodos/files/tofrodos-1.7.8-CFLAGS.patch17
-rw-r--r--app-text/tofrodos/metadata.xml11
-rw-r--r--app-text/tofrodos/tofrodos-1.7.12a.ebuild35
4 files changed, 69 insertions, 0 deletions
diff --git a/app-text/tofrodos/Manifest b/app-text/tofrodos/Manifest
new file mode 100644
index 000000000000..adbd3072ae1b
--- /dev/null
+++ b/app-text/tofrodos/Manifest
@@ -0,0 +1,6 @@
+AUX tofrodos-1.7.8-CFLAGS.patch 306 SHA256 9447cde65dc487905d50ab34b549d79e0dd6cd995d8538afcd9e70ee5798be4b SHA512 d96573638ba4cc4c3413ad42b903a08ac84286571317097aabcba7dfc69f794e53601154b5faf3e19ca0833377a742df745209ae3958ec9e7d2895e13bce5b2d WHIRLPOOL 5cfcd3ae81557f7beeda5f8195497c033f685e35c8c8bbaf688d3eb653b81f2979fbf0f7176b0c24116893b4a99ac052288b2308cad0406667460ffceb0891f3
+DIST tofrodos-1.7.12a.tar.gz 97588 SHA256 3098af78325486b99116c65c9f9bbbbfb3dfbeab1ab1e63a8da79550a5af6a08 SHA512 45a03203ccd053ec02a420fe4a63b427ee74dfa2c30e914836621a1cd7836ce81800e8bd5f1cccdb93233780ce79bc74d4ad49dca6192899b3039cf559baa8a2 WHIRLPOOL 73491c118a219a4cc25d2763b28a3cc10bcdaa08ae01a3cc99842254f6df3afb4662b25d2d73b1bb6e36408fc32007bc4a758361a5a951679c616fdae3f5aecb
+EBUILD tofrodos-1.7.12a.ebuild 699 SHA256 87a8d4d4fdb1c875c724d5ca8fa05813816cf8dae6f4f1d0a461fa833ccbfe78 SHA512 8c4e88d3082d5c597f18fcf45c092ac86d291236ab9cd2e78cdae2a62cb6c85bec5adbee83007c9a64cf8dfe85401db3ace18e45561ac13ea7d92284943462ad WHIRLPOOL 33b975f1fac650a63ffd8de68cb9d40ffb1a10b692b46bf7c998b20d0dffd59cba0b1ad525d09f599915a7b2caaf0e7c1d08425cef334eb77ab611d6a6ffe934
+MISC ChangeLog 2886 SHA256 4e217845e06ef8abe73f0c5a676682cf9305985122f0f78663d4b4cdab2804c9 SHA512 1b9b12258b67b2614c558524f198e35725d7434dca1c60a2797a22616b662f8e5185f131ac7c2381ac107473e82b74229f1b3e397c5202fa2bcf7e8c0391b820 WHIRLPOOL cf7e2ff3653ea9ffebfb9970643ba7c54de2a3cfe62a26da78283f6ddd074d7cf6b06621b79926d385cffa94d88026e78b642367aa1e4cec9eff6a5dc98101f6
+MISC ChangeLog-2015 1177 SHA256 36cb20b03f34d744d71dec069060b9b84dd4d8c15c1dcfc715ee6a2fa749f63b SHA512 47a603641fec6c005cd7652f40d4ac3e7606c0820bfe2a0e12cdc035c67b51b3d6c417944c654f38e131733c7ef93b9a06227d593cb97ca834774e8c926248b1 WHIRLPOOL 1dcff25be491f1f8e292fb8e1a9ad419b2671ba863bde1fdd54b79091562604dea133722885868324ee9a632345469b993ea8339c593f9205110b861ff40043d
+MISC metadata.xml 325 SHA256 8be543c0eb4535c7c58326c2d3ea573a6340321a9e49195f35c5e457bb342cd3 SHA512 d32c6a8e3e9bd397896145130afc1328ed86f507af35e2ab5b0a9b385462624542728178a06530af5cda863aee10e961bf3d189fbe3d1cf64619ba3d0a8f0b8b WHIRLPOOL d5af19cc48ca884952d9ca06807a0800533115f1b744bc60b3e2a20aacd0120676e33eb047b68c98307da9fe3d0c80e83b55f739beb8f5f6f0316fa61e27efcf
diff --git a/app-text/tofrodos/files/tofrodos-1.7.8-CFLAGS.patch b/app-text/tofrodos/files/tofrodos-1.7.8-CFLAGS.patch
new file mode 100644
index 000000000000..5aa0e8358565
--- /dev/null
+++ b/app-text/tofrodos/files/tofrodos-1.7.8-CFLAGS.patch
@@ -0,0 +1,17 @@
+--- Makefile.original 2009-04-11 22:46:08.000000000 -0600
++++ Makefile 2009-04-12 14:30:55.000000000 -0600
+@@ -92,14 +92,10 @@
+ OBJS = emsg.o \
+ init.o \
+ tofrodos.o \
+ utility.o
+
+-# implicit rules
+-.c.o:
+- $(CC) $(CFLAGS) $<
+-
+ # user visible rules
+ all: $(FROMDOS) $(TODOS)
+
+ clean:
+ $(RM) $(OBJS)
diff --git a/app-text/tofrodos/metadata.xml b/app-text/tofrodos/metadata.xml
new file mode 100644
index 000000000000..a8e3b2aeed3c
--- /dev/null
+++ b/app-text/tofrodos/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">tofrodos</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/tofrodos/tofrodos-1.7.12a.ebuild b/app-text/tofrodos/tofrodos-1.7.12a.ebuild
new file mode 100644
index 000000000000..cc6d10bee44b
--- /dev/null
+++ b/app-text/tofrodos/tofrodos-1.7.12a.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Utility that converts ASCII files between the MSDOS and the Unix format"
+HOMEPAGE="http://tofrodos.sourceforge.net/"
+SRC_URI="http://tofrodos.sourceforge.net/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${PN}/src"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.7.8-CFLAGS.patch
+}
+
+src_compile() {
+ emake DEBUG=1 CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
+ CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin fromdos
+ dosym fromdos /usr/bin/todos
+ doman fromdos.1
+}