Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

portconf

  • Loading branch information...
commit cd16a9b0ca23a51a181c3a77e7910f4c18ae3619 1 parent 8a7bc0d
@megabaks authored
View
7 app-portage/portconf/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>
+ <email>megagreener@gmail.com</email>
+ </maintainer>
+</pkgmetadata>
View
34 app-portage/portconf/portconf-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils git-2
+
+DESCRIPTION="/etc/portage manager"
+HOMEPAGE="https://github.com/megabaks/portconf"
+EGIT_REPO_URI="git://github.com/megabaks/${PN}.git"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="app-shells/bash
+ sys-apps/portage"
+RDEPEND="${DEPEND}
+ app-portage/eix
+ sys-apps/gawk"
+
+S="${WORKDIR}"
+
+src_install(){
+ if [ -f "${ROOT}/etc/portconf.conf" ];then
+ cp "${ROOT}/etc/portconf.conf" "${D}/etc/portconf.conf"
+ else
+ insinto /etc/
+ doins "portconf.conf"
+ fi
+ dosbin portconf
+}
Please sign in to comment.
Something went wrong with that request. Please try again.