minizip-ng new package

This commit is contained in:
Rmys
2023-05-01 15:20:56 +03:00
parent fd87f49450
commit dd9004dea1
7 changed files with 1418 additions and 248 deletions
+1314 -246
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
c04668a879205edbf6a125b5506195af2e78e160
d6c7722b6f8bfa1e5827c868ed5dbf3c43c29349
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
97664cf7b6c530a221077842c3c31d3b84fbeeb5
43efef317612c004aa5d46e10838d3c1e688bcef
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/env 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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DMZ_PROJECT_SUFFIX='-ng' \
-DMZ_ZSTD=OFF \
-DBUILD_SHARED_LIBS=ON")
def build():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.remove("/usr/include/zip.h")
pisitools.remove("/usr/include/unzip.h")
pisitools.dodoc("LICENSE", "README*")
+68
View File
@@ -0,0 +1,68 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>minizip-ng</Name>
<Homepage>https://github.com/zlib-ng/minizip-ng</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>custom</License>
<IsA>library</IsA>
<Summary>Fork of the popular zip manipulation library found in the zlib distribution</Summary>
<Icon>minizip-ng</Icon>
<Description>Fork of the popular zip manipulation library found in the zlib distribution</Description>
<Archive sha1sum="0c78275647f62218c8a41131978a967d9894f597" type="targz">https://github.com/zlib-ng/minizip-ng/archive/refs/tags/3.0.10.tar.gz</Archive>
<BuildDependencies>
<Dependency>bzip2</Dependency>
<Dependency>cmake</Dependency>
<Dependency>xz-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>openssl-devel</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>minizip-ng.patch</Patch>
<Patch level="1">minizip-ng.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>minizip-ng</Name>
<RuntimeDependencies>
<Dependency>xz</Dependency>
<Dependency>zlib</Dependency>
<Dependency>bzip2</Dependency>
<Dependency>openssl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>minizip-ng-devel</Name>
<Summary>Development files for minizip-ng</Summary>
<RuntimeDependencies>
<Dependency release="current">minizip-ng</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-05-01</Date>
<Version>3.0.10</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>minizip-ng</Name>
<Summary xml:lang="tr">Fork of the popular zip manipulation library found in the zlib distribution</Summary>
<Description xml:lang="tr">Fork of the popular zip manipulation library found in the zlib distribution</Description>
</Source>
</PISI>