asciidock add main
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# -*- 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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--prefix=/usr \
|
||||
--sysconfdir=/etc")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s install-sh" % get.installDIR())
|
||||
|
||||
# Move data files and create symlinks for asciidoc to work
|
||||
for d in ("dblatex", "docbook-xsl", "images", "javascripts", "stylesheets"):
|
||||
pisitools.domove("/etc/asciidoc/%s" % d, "/usr/share/asciidoc")
|
||||
pisitools.dosym("/usr/share/asciidoc/%s" % d, "/etc/asciidoc/%s" % d)
|
||||
|
||||
# Python module
|
||||
pisitools.insinto("/usr/lib/%s/site-packages" % get.curPYTHON(), "asciidocapi.py")
|
||||
|
||||
# Vim syntax and filetype plugins
|
||||
pisitools.insinto("/usr/share/vim/vimfiles/syntax/" , "vim/syntax/asciidoc.vim")
|
||||
|
||||
pisitools.dodoc("BUGS", "CHANGELOG", "COPYING", "README")
|
||||
pisitools.dodoc("docbook-xsl/asciidoc-docbook-xsl.txt", "filters/code/code-filter-readme.txt")
|
||||
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>asciidoc</Name>
|
||||
<Homepage>http://www.methods.co.nz/asciidoc/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Text document format for writing documents</Summary>
|
||||
<Description>AsciiDoc is a text document format for writing short documents, articles, books and UNIX man pages. AsciiDoc files can be translated to HTML and DocBook markups using the asciidoc command.</Description>
|
||||
<Archive sha1sum="82e574dd061640561fa0560644bc74df71fb7305" type="targz">mirrors://sourceforge/asciidoc/asciidoc-8.6.9.tar.gz</Archive>
|
||||
<Patches>
|
||||
<!-- <Patch level="0">fix_makefile_vimdir.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>asciidoc</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>docbook-xml</Dependency>
|
||||
<Dependency>docbook-xsl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/python*</Path>
|
||||
<Path fileType="data">/usr/share/asciidoc</Path>
|
||||
<Path fileType="data">/usr/share/vim</Path>
|
||||
<Path fileType="doc">/usr/share/doc/asciidoc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-18</Date>
|
||||
<Version>8.6.9</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-31</Date>
|
||||
<Version>8.6.9</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-09-17</Date>
|
||||
<Version>8.6.8</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>asciidoc</Name>
|
||||
<Summary xml:lang="tr">Belge hazırlamak için metin biçimlendirme sistemi</Summary>
|
||||
<Description xml:lang="tr">AsciiDoc, kısa belgeler, makaleler, kitaplar ve kılavuz sayfaları yazmak ve bunları HTML/Docbook'a dönüştürmek için kullanılır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user