libnetwork is ready
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright 2018 TUBITAK/UEKAE
|
||||
# Licensed under the GNU General Public License, version 2.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
# WorkDir = ""
|
||||
NoStrip = "/"
|
||||
|
||||
def setup():
|
||||
shelltools.move("vendor", "src")
|
||||
|
||||
shelltools.makedirs("src/github.com/docker")
|
||||
|
||||
shelltools.cd("src/github.com/docker")
|
||||
shelltools.system("ln -rsf %s/libnetwork ./libnetwork" % get.workDIR())
|
||||
|
||||
def build():
|
||||
shelltools.cd("src/github.com/docker/libnetwork")
|
||||
|
||||
shelltools.system("GOPATH=%s/libnetwork make build-local" % get.workDIR())
|
||||
|
||||
def install():
|
||||
pisitools.dobin("bin/dnet")
|
||||
pisitools.dobin("bin/docker-proxy")
|
||||
|
||||
pisitools.dodoc("MAINTAINERS", "LICENSE", "README*", "ROADMAP.md")
|
||||
|
||||
shelltools.unlinkDir("docs/vagrant-systemd")
|
||||
|
||||
pisitools.insinto("/usr/share/doc/libnetwork", "docs/*")
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libnetwork</Name>
|
||||
<Homepage>https://github.com/docker/libnetwork</Homepage>
|
||||
<Packager>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Packager>
|
||||
<License>Apache-2.0</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Docker Networking</Summary>
|
||||
<Description>Libnetwork provides a native Go implementation for connecting containers The goal of libnetwork is to deliver a robust Container Network Model that provides a consistent programming interface and the required network abstractions for applications.</Description>
|
||||
<Archive sha1sum="a15422974a5aceb4f41cd7ced4643975a2c1d549" type="targz">https://sourceforge.net/projects/pisilinux/files/source/libnetwork-0.8.0_dbc11cc.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency versionFrom="1.10.3">golang</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libnetwork</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2018-06-18</Date>
|
||||
<Version>0.8.0_pre1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user