moved into main for pisi 2.0

This commit is contained in:
2015-07-04 15:11:30 +03:00
parent d0e6c89825
commit 07d52dc965
3 changed files with 96 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
autotools.configure("--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--libexecdir=/usr/lib")
def build():
autotools.make()
#def check():
# autotools.make("check")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "README")
+55
View File
@@ -0,0 +1,55 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libndp</Name>
<Homepage>http://libndp.org/</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>GPLv2+</License>
<IsA>library</IsA>
<Summary>Library for Neighbor Discovery Protocol</Summary>
<Description>Library for Neighbor Discovery Protocol</Description>
<Archive sha1sum="1325e9458a8f801ba35783e1fc334fd26dc8de39" type="targz">http://libndp.org/files/libndp-1.4.tar.gz</Archive>
<BuildDependencies>
<Dependency>glibc-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libndp</Name>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="data">/etc/dbus-1</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<Package>
<Name>libndp-devel</Name>
<Summary>Development files for NetworkManager</Summary>
<RuntimeDependencies>
<Dependency release="current">libndp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig/</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2015-01-07</Date>
<Version>1.4</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libndp</Name>
<Summary xml:lang="tr">Ağ tarama protokolü için kitaplık</Summary>
<Description xml:lang="tr">Ağ tarama protokolü için kitaplık</Description>
</Source>
<Package>
<Name>libndp</Name>
<Summary xml:lang="tr">libndp için geliştirme dosyaları</Summary>
</Package>
</PISI>