Skip to content
Browse files

app-portage/portconf-1.0

  • Loading branch information...
1 parent bc14e57 commit 347b2ebc876554a0009a967184b5947b356f832a @megabaks committed Oct 13, 2012
Showing with 36 additions and 0 deletions.
  1. +1 −0 app-portage/portconf/Manifest
  2. +35 −0 app-portage/portconf/portconf-1.0.ebuild
View
1 app-portage/portconf/Manifest
@@ -0,0 +1 @@
+DIST portconf-1.0.tar.gz 6736 SHA256 1409e22117655d9bfa5293b06a2d6c5d9c6fd5fd1ab094a5c04264e8a4168cf3 SHA512 9c08bf30c8c8760036285960f8665e1359bf640276b0d54f28f9d17e107cb9dc2c722fbe08d2b17ea973eeb761661ef794f5efb889016f8000b193279fd5f03b WHIRLPOOL 00962a50925c36615de5ac5bc92fb50d54cd33ddae6e49ee3179556cf06f8b7be08c33620424cc526c01c07e48621f5e7fe02e8212121713bc545e1d42f9c745
View
35 app-portage/portconf/portconf-1.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="/etc/portage manager"
+HOMEPAGE="https://github.com/megabaks/portconf"
+SRC_URI="https://github.com/downloads/megabaks/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+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
+ mkdir "${D}/etc"
+ cp "${ROOT}/etc/portconf.conf" "${D}/etc/portconf.conf"
+ else
+ insinto /etc/
+ doins "portconf.conf"
+ fi
+ dosbin portconf
+}

0 comments on commit 347b2eb

Please sign in to comment.
Something went wrong with that request. Please try again.