summaryrefslogtreecommitdiff
path: root/app-misc/ytree
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/ytree
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/ytree')
-rw-r--r--app-misc/ytree/Manifest4
-rw-r--r--app-misc/ytree/files/ytree-1.94-bindir.patch11
-rw-r--r--app-misc/ytree/metadata.xml7
-rw-r--r--app-misc/ytree/ytree-1.99_p1.ebuild38
4 files changed, 60 insertions, 0 deletions
diff --git a/app-misc/ytree/Manifest b/app-misc/ytree/Manifest
new file mode 100644
index 000000000000..a397e715fa58
--- /dev/null
+++ b/app-misc/ytree/Manifest
@@ -0,0 +1,4 @@
+AUX ytree-1.94-bindir.patch 433 BLAKE2B 3795483e588f1c308ab28a7a952a847d0bc16dbe12ebf96e49cf28018e51e6c4c31cab0b8e18af60ffbb814c747de2293b3c270dacb03d556bdfb6a2a1c3752f SHA512 b10a4a6c0bc8b06817a859498dad4ba789393d41f3f87ef457ce58bb4a209623c299ab81de229a1c03866632a749fff56c2933e35859ca22c6c7becaaa67110a
+DIST ytree-1.99pl1.tar.gz 122996 BLAKE2B 2e40cca19cf9c9c3726e877bd05158acb34f732d266c0a7d9d6a15c6c665eb4efa38694ceee81d1006e5eeb2fb5be92be8dc40c3b9aff52eed962491eec1f06a SHA512 3d2ffae5cccf973bb06ec64917dc8f5b69e0ab95910144c5058b166479334fc563807a813ef608678463a032a8d2234f1006b820baa04aa95e77b06888af81fc
+EBUILD ytree-1.99_p1.ebuild 642 BLAKE2B b4dffbcb98eae5f27b36d51772c091c3faa26bf56a85a0564556425d8fa55a48cf026e7f694665d4cba7bfc5ceee378a43617f5b81175e1dd9e323ec4d18d5da SHA512 19c27f5f852bfa4dcdaf25163160a9af3710907a4ade674faad5698f3ac6484b6f2110078b9383ac79b9687898a7910ff10f347d0ad89ec46c86031cb8f62e4d
+MISC metadata.xml 221 BLAKE2B 6d597a7a853603bd878e86c6552cb68211e81f627cdb673ae99dc6c6133f50f617101e43f4b4631b45b5969ee6ec42849b156a62594f939d00c112ce51d769e1 SHA512 e50d6cad26239ebf4260f0cf4bdf4e29ef2038e999039adf94f49b184b5993f02bb0d4cdb3de6c7b5cda99890db42dcd2b65c5342256be50dc19e6aab2406353
diff --git a/app-misc/ytree/files/ytree-1.94-bindir.patch b/app-misc/ytree/files/ytree-1.94-bindir.patch
new file mode 100644
index 000000000000..a79904e923b3
--- /dev/null
+++ b/app-misc/ytree/files/ytree-1.94-bindir.patch
@@ -0,0 +1,11 @@
+--- ./Makefile.orig 2010-04-11 17:44:57.511131862 +0200
++++ ./Makefile 2010-04-11 17:44:14.143178887 +0200
+@@ -225,6 +225,8 @@
+ $(CC) $(LFLAGS) -o $@ $(OBJS) $(LDFLAGS)
+
+ install: $(MAIN)
++ if [ ! -d $(BINDIR) ]; then mkdir -p $(BINDIR); fi
++ if [ ! -d $(MANDIR) ]; then mkdir -p $(MANDIR); fi
+ install $(MAIN) $(BINDIR)
+ gzip -9c ytree.1 > ytree.1.gz
+ if [ -d $(MANDIR) ]; then install -m 0644 ytree.1.gz $(MANDIR)/; fi
diff --git a/app-misc/ytree/metadata.xml b/app-misc/ytree/metadata.xml
new file mode 100644
index 000000000000..69570e849328
--- /dev/null
+++ b/app-misc/ytree/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>kensington@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/ytree/ytree-1.99_p1.ebuild b/app-misc/ytree/ytree-1.99_p1.ebuild
new file mode 100644
index 000000000000..2d4f7c48fb4c
--- /dev/null
+++ b/app-misc/ytree/ytree-1.99_p1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="${PN}-1.99pl1"
+
+inherit toolchain-funcs
+
+DESCRIPTION="A curses-based file manager"
+HOMEPAGE="http://www.han.de/~werner/ytree.html"
+SRC_URI="http://www.han.de/~werner/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+DEPEND="
+ sys-libs/ncurses:0=
+ sys-libs/readline:0=
+"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/${PN}-1.94-bindir.patch" )
+
+DOCS=( CHANGES README THANKS ytree.conf )
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}usr" install
+ einstalldocs
+}