cmark v0.31.1
This commit is contained in:
@@ -1,28 +1,23 @@
|
||||
#!/usr/bin/env python
|
||||
#!/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
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import mesontools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.system("mkdir build")
|
||||
shelltools.cd("build")
|
||||
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMARK_STATIC=OFF \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib", sourceDir = '..')
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-Bbuild -G Ninja")
|
||||
|
||||
def build():
|
||||
shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
pisitools.dodoc("COPYING", "README*")
|
||||
mesontools.install()
|
||||
|
||||
pisitools.dodoc("COPYING")
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cmark</Name>
|
||||
<Homepage>https://github.com/jgm/cmark</Homepage>
|
||||
<Homepage>https://github.com/commonmark/cmark</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
@@ -12,23 +12,19 @@
|
||||
<IsA>library</IsA>
|
||||
<Summary>CommonMark parsing and rendering library and program in C</Summary>
|
||||
<Description>CommonMark parsing and rendering library and program in C</Description>
|
||||
<Archive sha1sum="ae87665962390dabca20e461bac7523c8580e097" type="targz">https://github.com/commonmark/cmark/archive/0.30.3.tar.gz</Archive>
|
||||
<Archive sha1sum="041faa22f1772e79784875eb18039480c2e33139" type="targz">https://github.com/commonmark/cmark/archive/refs/tags/0.31.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<!--
|
||||
<Patches>
|
||||
<Patch>cmark.patch</Patch>
|
||||
<Patch level="1">cmark.patch</Patch>
|
||||
<!-- <Patch level="1"></Patch> -->
|
||||
</Patches>
|
||||
-->
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cmark</Name>
|
||||
<RuntimeDependencies>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
@@ -36,7 +32,7 @@
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
|
||||
<Package>
|
||||
<Name>cmark-devel</Name>
|
||||
<Summary>Development files for cmark</Summary>
|
||||
@@ -46,11 +42,18 @@
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2025-06-21</Date>
|
||||
<Version>0.31.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2023-11-03</Date>
|
||||
<Version>0.30.3</Version>
|
||||
|
||||
Reference in New Issue
Block a user