Merge branch '4fury-c3440d8/master'
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import shelltools, cmaketools, mesontools, pisitools
|
||||
|
||||
def setup():
|
||||
i = ''.join([
|
||||
' -DCMAKE_INSTALL_PREFIX=/usr',
|
||||
' -DCMAKE_BUILD_TYPE=None',
|
||||
' -DBUILD_SHARED_LIBS=ON',
|
||||
' -Bbuild -G Ninja -L '
|
||||
])
|
||||
cmaketools.configure(i, sourceDir = "c")
|
||||
shelltools.cd("b3sum")
|
||||
shelltools.system("cargo fetch --locked")
|
||||
|
||||
def build():
|
||||
mesontools.build()
|
||||
shelltools.cd("b3sum")
|
||||
shelltools.system("cargo build --release") # passed with --ignore-sandbox
|
||||
|
||||
def install():
|
||||
mesontools.install()
|
||||
|
||||
pisitools.dobin("b3sum/target/release/b3sum")
|
||||
|
||||
for l in ["A2", "A2LLVM", "CC0"]:
|
||||
pisitools.dodoc("LICENSE_%s" % l)
|
||||
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>blake3</Name>
|
||||
<Homepage>https://github.com/BLAKE3-team/BLAKE3</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisilinux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>Apachev2.0</License>
|
||||
<License>CC0v1.0</License>
|
||||
<PartOf>util.crypt</PartOf>
|
||||
<Summary>The Rust and C implementations of the BLAKE3 cryptographic hash function.</Summary>
|
||||
<Description>BLAKE3 is based on an optimized instance of the established hash function BLAKE2 and on the original Bao tree mode.</Description>
|
||||
<Archive sha1sum="6ac365ee86a78cae00a118c53e82466e0ae70d50" type="targz">https://github.com/BLAKE3-team/BLAKE3/archive/1.5.5/BLAKE3-1.5.5.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>rust</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level="1"></Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>blake3</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>blake3-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">blake3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2025-02-11</Date>
|
||||
<Version>1.5.5</Version>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
+16
-24
@@ -2,36 +2,28 @@
|
||||
# -*- 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
|
||||
|
||||
i = ''.join([
|
||||
' --prefix=/usr',
|
||||
' --with-{boost,bzip2,lzma,sqlite3,zlib}',
|
||||
' --with-python-versions=3.11',
|
||||
' --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 .")
|
||||
|
||||
+27
-13
@@ -8,23 +8,28 @@
|
||||
<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="8ec027dab6543b3a0d87fd2c77315ee4edc8a758" type="tarxz">
|
||||
https://botan.randombit.net/releases/Botan-3.7.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>
|
||||
<Dependency>python3-docutils</Dependency>
|
||||
</BuildDependencies>
|
||||
<!--Patches>
|
||||
<Patch></Patch>
|
||||
</Patches-->
|
||||
<Patches>
|
||||
<!-- <Patch level="1"></Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
@@ -40,26 +45,35 @@
|
||||
</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>
|
||||
<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-02-25</Date>
|
||||
<Version>3.7.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