summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2008-05-13 14:40:06 +0000
committerMichael Haubenwallner <haubi@gentoo.org>2008-05-13 14:40:06 +0000
commitd73a76388093b80da71c613762e37c0bbb04fc3b (patch)
tree2cf18bd48e2ff2822f51ccc97fbf8f45fae164ce /dev-util/confix-wrapper
parentStable for HPPA (bug #221063). (diff)
downloadgentoo-2-d73a76388093b80da71c613762e37c0bbb04fc3b.tar.gz
gentoo-2-d73a76388093b80da71c613762e37c0bbb04fc3b.tar.bz2
gentoo-2-d73a76388093b80da71c613762e37c0bbb04fc3b.zip
initial import of dev-util/confix-wrapper (ebuild from me).
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-util/confix-wrapper')
-rw-r--r--dev-util/confix-wrapper/ChangeLog10
-rw-r--r--dev-util/confix-wrapper/Manifest3
-rw-r--r--dev-util/confix-wrapper/confix-wrapper-0.ebuild31
-rw-r--r--dev-util/confix-wrapper/metadata.xml12
4 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/confix-wrapper/ChangeLog b/dev-util/confix-wrapper/ChangeLog
new file mode 100644
index 000000000000..1b3b4e342252
--- /dev/null
+++ b/dev-util/confix-wrapper/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-util/confix-wrapper
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/confix-wrapper/ChangeLog,v 1.1 2008/05/13 14:40:06 haubi Exp $
+
+*confix-wrapper-0 (13 May 2008)
+
+ 13 May 2008; Michael Haubenwallner <haubi@gentoo.org> +metadata.xml,
+ +confix-wrapper-0.ebuild:
+ initial import of dev-util/confix-wrapper (ebuild from me).
+
diff --git a/dev-util/confix-wrapper/Manifest b/dev-util/confix-wrapper/Manifest
new file mode 100644
index 000000000000..e4811d92c5d1
--- /dev/null
+++ b/dev-util/confix-wrapper/Manifest
@@ -0,0 +1,3 @@
+EBUILD confix-wrapper-0.ebuild 700 RMD160 8f146053af985d01c301bafad5774beaefe51142 SHA1 d0f680cd39f2d7a92fbd6b0f553f575a4e0e36a2 SHA256 8aa935db2521d9cbc1c191059fe7dbef688fd8581c3acb551eb06a05c2a3b3a4
+MISC ChangeLog 315 RMD160 fae432e3f54d1b431d244c3ea7dd8a80876244ed SHA1 691df35c0ee1b0f63dcab8a34b36f70a95362280 SHA256 2481b93a6454cab0fc382ba4c17412a0d56a971d84cb880adb69abca0af88f05
+MISC metadata.xml 304 RMD160 277e590e8dfd75338d103f48e29cbb52ba9318c8 SHA1 b0753f9d5e9848d913e0ecb38b7a0bc18597a3f9 SHA256 21ed6f70e8306258952cee395fab217e3c08fb3fdd2a9fac771013ceec356713
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..56c7c7200b77
--- /dev/null
+++ b/dev-util/confix-wrapper/confix-wrapper-0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/confix-wrapper/confix-wrapper-0.ebuild,v 1.1 2008/05/13 14:40:06 haubi Exp $
+
+DESCRIPTION="Wrapper to select either confix1.py or confix2.py"
+HOMEPAGE="http://confix.sourceforge.net"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+
+src_install() {
+ dodir /usr/bin
+ cat >> "${D}"usr/bin/confix <<EOF
+#! /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..c137100eac39
--- /dev/null
+++ b/dev-util/confix-wrapper/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd></herd>
+ <maintainer>
+ <email>haubi@gentoo.org</email>
+ <name>Michael Haubenwallner</name>
+ </maintainer>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
+