zziplib.
This commit is contained in:
@@ -5,25 +5,27 @@
|
||||
# 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 cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
shelltools.export("JOBS", get.makeJOBS().replace("-j5", "-j1"))
|
||||
|
||||
def setup():
|
||||
# autotools.autoreconf("-vif")
|
||||
autotools.configure("--disable-static --enable-sdl --with-zlib")
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
cmaketools.configure("-DCMAKE_INSTALL_LIBDIR=lib -L", sourceDir = '..')
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
cmaketools.make("docs")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
# Extract and install shipped man pages
|
||||
#shelltools.system("tar xvf docs/zziplib-manpages.tar")
|
||||
for manp in shelltools.ls("man3"):
|
||||
pisitools.doman("man3/%s" % manp)
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dohtml("docs/*.htm*")
|
||||
shelltools.cd("..")
|
||||
pisitools.dodoc("ChangeLog", "COPYING.LIB", "README", "TODO", "docs/COPYING*", "docs/README.SDL")
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>zziplib</Name>
|
||||
@@ -13,20 +13,27 @@
|
||||
<License>ZLIB</License>
|
||||
<IsA>app:console</IsA>
|
||||
<IsA>library</IsA>
|
||||
<Summary>libZ-based ZIP-access Library</Summary>
|
||||
<PartOf>util.archive</PartOf>
|
||||
<Summary>libZ-based ZIP-access Library.</Summary>
|
||||
<Description>
|
||||
zziplib provides read access to zipped files in a zip-archive, using compression based solely on free algorithms provided by zlib.
|
||||
The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access.
|
||||
</Description>
|
||||
<Archive sha1sum="147ab9bef172f2b41544adfd19daa506256d83b7" type="tarbz2">https://sourceforge.net/projects/zziplib/files/zziplib13/0.13.68/zziplib-0.13.68.tar.bz2</Archive>
|
||||
<Archive sha1sum="c03f539c8a6fe5f1b39db4b5d4646d869f78bdd6" type="targz">
|
||||
https://github.com/gdraheim/zziplib/archive/v0.13.71.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
<Dependency>libxslt</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>aalib-devel</Dependency>
|
||||
<Dependency>docbook-xsl</Dependency>
|
||||
<Dependency>docbook-xml</Dependency>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>libsdl2-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--
|
||||
<Patch level="1">dont-build-docs.patch</Patch>
|
||||
<Patch level="1">zziplib-0.13.59-multilib.patch</Patch>
|
||||
-->
|
||||
<!-- <Patch level="1">dont-build-docs.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -39,6 +46,7 @@
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/aclocal</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
@@ -48,11 +56,11 @@
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">zziplib</Dependency>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>libsdl2-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
@@ -68,6 +76,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2020-06-23</Date>
|
||||
<Version>0.13.71</Version>
|
||||
<Comment>Ver. bump</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2019-10-31</Date>
|
||||
<Version>0.13.68</Version>
|
||||
|
||||
Reference in New Issue
Block a user