botan-3.6.1
This commit is contained in:
+18
-24
@@ -2,36 +2,30 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pythonmodules, mesontools, pisitools
|
||||
|
||||
i = ''.join([
|
||||
' --prefix=/usr',
|
||||
' --with-{boost,bzip2,lzma,sqlite3,zlib}',
|
||||
' --with-python-versions=3.12',
|
||||
' --with-os-feature=getrandom',
|
||||
' --disable-static-library',
|
||||
' --build-tool=ninja',
|
||||
' ',
|
||||
])
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
pythonmodules.run("configure.py %s" % i, pyVer = "3")
|
||||
|
||||
shelltools.system("../configure.py --prefix=/usr \
|
||||
--with-bzip \
|
||||
--with-lzma \
|
||||
--with-zlib \
|
||||
--with-boost \
|
||||
--with-sqlite3 \
|
||||
--with-os-feature=getrandom")
|
||||
|
||||
def build():
|
||||
shelltools.cd("build")
|
||||
autotools.make()
|
||||
mesontools.build("-C .")
|
||||
|
||||
def check():
|
||||
shelltools.cd("build")
|
||||
autotools.make("check")
|
||||
#pass
|
||||
mesontools.build("-C . check")
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
#pisitools.dodoc("COPYING*", "README")
|
||||
mesontools.install("-C .")
|
||||
|
||||
pisitools.dodoc("license.txt", "doc/authors.txt", "doc/credits.rst")
|
||||
|
||||
+27
-22
@@ -8,58 +8,63 @@
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<License>BSD-2-Clause</License>
|
||||
<IsA>library</IsA>
|
||||
<Icon>botan</Icon>
|
||||
<Summary>Cryptography Toolkit</Summary>
|
||||
<Description>Crypto library written in C++</Description>
|
||||
<Archive sha1sum="4f9383395360898d7a29ed2c1b42e81e52704aa4" type="tarxz">https://botan.randombit.net/releases/Botan-3.2.0.tar.xz</Archive>
|
||||
<Summary>A C++ cryptography library.</Summary>
|
||||
<Description>Crypto and TLS for Modern C++.</Description>
|
||||
<Archive sha1sum="e920c3531fa2daf7348e1a668bfdc0f446e10c8b" type="tarxz">
|
||||
https://botan.randombit.net/releases/Botan-3.6.1.tar.xz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>bzip2</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>docutils</Dependency>
|
||||
<Dependency>xz-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
<Dependency>sqlite-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<!--Patches>
|
||||
<Patch></Patch>
|
||||
</Patches-->
|
||||
<Patches>
|
||||
<!-- <Patch level="1"></Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>botan</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>xz</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>bzip2</Dependency>
|
||||
<Dependency>boost</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>sqlite</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/doc</Path>
|
||||
<Path fileType="library">/usr/lib/python2.7/site-packages</Path>
|
||||
<Path fileType="library">/usr/lib/python3*/site-packages</Path>
|
||||
<Path fileType="library">/usr/lib/libbotan*</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>botan-devel</Name>
|
||||
<Summary>Development files for botan</Summary>
|
||||
<PartOf>runtime.header</PartOf>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>xz-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
<Dependency>sqlite-devel</Dependency>
|
||||
<Dependency release="current">botan</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2025-01-30</Date>
|
||||
<Version>3.6.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2023-11-01</Date>
|
||||
<Version>3.2.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user