ntl:new pisi rel

This commit is contained in:
blue-devil
2020-05-21 01:41:17 +03:00
parent 6a1bbb7ed0
commit a902bedab0
3 changed files with 115 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 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
shelltools.cd("src")
autotools.rawConfigure("DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NATIVE=off TUNE=x86 LIBTOOL=libtool")
def build():
shelltools.cd("src")
autotools.make()
def check():
shelltools.cd("src")
autotools.make("-k check")
def install():
shelltools.cd("src")
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("README")
+67
View File
@@ -0,0 +1,67 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ntl</Name>
<Homepage>https://www.shoup.net/ntl/</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>science.misc</PartOf>
<License>LGPL</License>
<IsA>library</IsA>
<Summary>A Library for doing Number Theory.</Summary>
<Description>NTL is a high-performance, portable C++ library providing data structures and algorithms for manipulating signed, arbitrary length integers, and for vectors, matrices, and polynomials over the integers and over finite fields.</Description>
<Archive sha1sum="f4c7dc1fd448b499ef98549e8702b320ba6a7830" type="targz">https://www.shoup.net/ntl/ntl-11.4.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>gmp-devel</Dependency>
<Dependency>gf2x-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>ntl</Name>
<Summary>A Library for doing Number Theory.</Summary>
<RuntimeDependencies>
<Dependency>gmp</Dependency>
<Dependency>gf2x</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libntl*</Path>
</Files>
</Package>
<Package>
<Name>ntl-devel</Name>
<Summary>Development files for ntl</Summary>
<RuntimeDependencies>
<Dependency release="current">ntl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>ntl-docs</Name>
<Summary>Documentation files for ntl</Summary>
<RuntimeDependencies>
<Dependency release="current">ntl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-05-20</Date>
<Version>11.4.3</Version>
<Comment>First pisi release.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ntl</Name>
<Summary xml:lang="tr">Sayı kuramı için bir kitaplık.</Summary>
<Description xml:lang="tr">ntl, sayı kuramı için bir kitaplık sunar.</Description>
</Source>
<Package>
<Name>ntl-devel</Name>
<Summary xml:lang="tr">ntl için geliştirme dosyaları</Summary>
<Description xml:lang="tr">ntl-devel, ntl için geliştirme dosyalarını içerir.</Description>
</Package>
<Package>
<Name>ntl-docs</Name>
<Summary xml:lang="tr">ntl için belgelendirme dosyaları</Summary>
<Description xml:lang="tr">ntl-docs, ntl için belgelendirme dosyalarını içerir.</Description>
</Package>
</PISI>