cardoe      15/07/20 02:37:38

  Added:                runc-0.0.2.ebuild metadata.xml ChangeLog
  Log:
  initial commit - feedback welcome
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
A2BC03DC87ED1BD4!)

Revision  Changes    Path
1.1                  app-emulation/runc/runc-0.0.2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/runc/runc-0.0.2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/runc/runc-0.0.2.ebuild?rev=1.1&content-type=text/plain

Index: runc-0.0.2.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/runc/runc-0.0.2.ebuild,v 1.1 
2015/07/20 02:37:38 cardoe Exp $

EAPI=5

DESCRIPTION="runc container cli tools"
HOMEPAGE="http://runc.io";

GITHUB_URI="github.com/opencontainers/runc"

if [[ ${PV} == *9999* ]]; then
        SRC_URI=""
        EGIT_REPO_URI="git://${GITHUB_URI}.git"
        inherit git-2
else
        SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
        KEYWORDS="~amd64"
fi

inherit multilib

LICENSE="Apache-2.0"
SLOT="0"
IUSE=""

DEPEND=">=dev-lang/go-1.4:="
RDEPEND=""

src_prepare() {
        epatch_user
}

src_compile() {
        # Taken from app-emulation/docker-1.7.0-r1
        export CGO_CFLAGS="-I${ROOT}/usr/include"
        export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)"

        # Setup GOPATH so things build
        rm -rf .gopath
        mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")"
        ln -sf ../../../.. .gopath/src/"${GITHUB_URI}"
        export GOPATH="${PWD}/.gopath:${PWD}/vendor"

        make
}

src_install() {
        newbin runc runc
}



1.1                  app-emulation/runc/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/runc/metadata.xml?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/runc/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
<pkgmetadata>
        <longdescription lang="en">
                runc is a CLI tool for spawning and running containers according
                to the OCF (Open Container Format) specification.
        </longdescription>
        <maintainer>
                <email>car...@gentoo.org</email>
                <name>Doug Goldstein</name>
        </maintainer>
</pkgmetadata>



1.1                  app-emulation/runc/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/runc/ChangeLog?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/runc/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for app-emulation/runc
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/runc/ChangeLog,v 1.1 
2015/07/20 02:37:38 cardoe Exp $

*runc-0.0.2 (20 Jul 2015)

  20 Jul 2015; Doug Goldstein <car...@gentoo.org> +runc-0.0.2.ebuild,
  +metadata.xml:
  initial version - feedback welcome





Reply via email to