This commit is contained in:
blue-devil
2020-01-15 23:51:32 +03:00
15 changed files with 422 additions and 23 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/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 \
-DCMAKE_INSTALL_LIBDIR=lib")
def build():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("CHANGELOG*", "LICENSE*", "README*")
+62
View File
@@ -0,0 +1,62 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>md4c</Name>
<Homepage>https://github.com/mity/md4c</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<Summary>C Markdown parser</Summary>
<Description>C Markdown parser</Description>
<Archive sha1sum="0a4be23b39839268dd7158099e03fcb33d68f20b" type="targz">https://github.com/mity/md4c/archive/release-0.4.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>md4c.patch</Patch>
<Patch level="1">md4c.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>md4c</Name>
<RuntimeDependencies>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>md4c-devel</Name>
<Summary>Development files for md4c</Summary>
<RuntimeDependencies>
<Dependency release="current">md4c</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>2020-01-15</Date>
<Version>0.4.2</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>md4c</Name>
<Summary xml:lang="tr">C Markdown parser</Summary>
<Description xml:lang="tr">C Markdown parser</Description>
</Source>
</PISI>