summaryrefslogtreecommitdiff
path: root/dev-util/confix-wrapper
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 /dev-util/confix-wrapper
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/confix-wrapper')
-rw-r--r--dev-util/confix-wrapper/Manifest4
-rw-r--r--dev-util/confix-wrapper/confix-wrapper-0.ebuild31
-rw-r--r--dev-util/confix-wrapper/metadata.xml11
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/confix-wrapper/Manifest b/dev-util/confix-wrapper/Manifest
new file mode 100644
index 000000000000..757eec46b439
--- /dev/null
+++ b/dev-util/confix-wrapper/Manifest
@@ -0,0 +1,4 @@
+EBUILD confix-wrapper-0.ebuild 794 SHA256 c010addf4dfd45c1581a7f3f95082b57cff2a9f08d0fc5f3ed517c7e21035660 SHA512 deab328531aaad8a9064bc1987e7ebeab8b4d039f549da954d53d7f09a9f728be56f77a07a1e3b8cb69d3e74ccdd6b777040beaa30f7f72f9a6cad9abef0ee2b WHIRLPOOL cb93a11b7fb8a6b9805b87cb47f48455fd9dccbf8eca0835c7bded7459a140069bc1f2e9916fa52dfc6adeb4d3c289d933634a18f1185c546755cf3c99f5edc8
+MISC ChangeLog 2735 SHA256 d1416db119ae689e5687486d63e0e3903d3879939538e93b145e18e9fd960bdd SHA512 f4ce727a81514d59219674aa54e68fb8d9e3673604050f23fc9f341a2af6d0519594d22b68cfb14999b64199dd0eb8145471ba5efa388605297b31101208c4e0 WHIRLPOOL 2c16382cc88e0027ec6c481e9f79ed5c110cc8f0f41f0ac7589efc9466a3220904b6d6727614ead42fedf079e6f01f72d2f17fb47c2c58687f50c5ab0d6465cd
+MISC ChangeLog-2015 953 SHA256 134c0ea1b07847f4204a36cb32847f65996004678def7fa054cd21a467d3026f SHA512 6ecdf40eb2de8eb024e18b93dccdfee34c6eaa61d44ceaa7eccdaa53e24e7c77d2a8a97eed4412b55dcf527a1cfd35c2dc1a3df3a99862778a06df807c523ccf WHIRLPOOL 73302ac0aacd7c231de47ec6d8b9066c5b0eaee308f80c4fa124a22ac723155eb7171815a6ee51a75a337f56617350dcbfa9f3c2bf03e20063f16d1197bd2a8e
+MISC metadata.xml 329 SHA256 8c64fecbedb8352c409df53a00630939fa11c7f669185703f306e2003b876873 SHA512 a2e7c1b3ef9b2228e2820c0aa46354d771b518e7a5f854f1f06850840929846b12125b4f526a7f0282b3e9545c5cf7ed670ef2f2047c7deb0c6de40b9667b321 WHIRLPOOL 21bb8468d0e8d5986bdee662f8b26695db6b8a1bf3c793b5607448f4d285dc6bb38fe253adce31a6ae79251d05e99857fdd62d0192b20f81a3bad08e53931ccc
diff --git a/dev-util/confix-wrapper/confix-wrapper-0.ebuild b/dev-util/confix-wrapper/confix-wrapper-0.ebuild
new file mode 100644
index 000000000000..a7450e6f469d
--- /dev/null
+++ b/dev-util/confix-wrapper/confix-wrapper-0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="Wrapper to select either confix1.py or confix2.py"
+HOMEPAGE="http://confix.sourceforge.net"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+src_install() {
+ dodir /usr/bin
+ cat >> "${ED:-${D}}"usr/bin/confix <<EOF
+#! ${EPREFIX:-}/bin/sh
+confixpy=
+if [ -f ./Confix2.dir ]; then
+ confixpy=confix2.py
+elif [ -f ./Makefile.py ]; then
+ confixpy=confix1.py
+else
+ confixpy=confix2.py
+fi
+case \$# in
+0) exec \${confixpy} ;;
+*) exec \${confixpy} "\$@" ;;
+esac
+EOF
+ fperms a+x /usr/bin/confix || die "cannot set permissions"
+ dosym confix /usr/bin/confix.py || die "cannot create 'confix' symlink"
+}
diff --git a/dev-util/confix-wrapper/metadata.xml b/dev-util/confix-wrapper/metadata.xml
new file mode 100644
index 000000000000..5cbfb3aa5288
--- /dev/null
+++ b/dev-util/confix-wrapper/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>haubi@gentoo.org</email>
+ <name>Michael Haubenwallner</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">confix</remote-id>
+ </upstream>
+</pkgmetadata>