create core package
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#!/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
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
TEX="/usr/share/texmf"
|
||||
|
||||
def setup():
|
||||
autotools.configure()
|
||||
|
||||
def build():
|
||||
autotools.make("TEXMF=TEX install-tex")
|
||||
|
||||
def install():
|
||||
pisitools.insinto("/usr/share/texmf", "%s/%s-%s/doc/TEX/tex" % (get.workDIR(), get.srcNAME(), get.srcVERSION()))
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "TODO")
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import piksemel
|
||||
import subprocess
|
||||
|
||||
def doinfo(filepath, remove=False):
|
||||
# install-info is broken with i18n :(
|
||||
os.environ["LC_ALL"] = "C"
|
||||
|
||||
doc = piksemel.parse(filepath)
|
||||
for item in doc.tags("File"):
|
||||
path = item.getTagData("Path")
|
||||
if path.startswith("usr/share/info") and path.endswith((".info", ".info.gz")):
|
||||
if remove:
|
||||
subprocess.call(["install-info", "--delete", "/%s" % path, "/usr/share/info/dir"])
|
||||
else:
|
||||
subprocess.call(["install-info", "/%s" % path, "/usr/share/info/dir"])
|
||||
|
||||
def setupPackage(metapath, filepath):
|
||||
doinfo(filepath)
|
||||
|
||||
def cleanupPackage(metapath, filepath):
|
||||
doinfo(filepath, True)
|
||||
|
||||
def postCleanupPackage(metapath, filepath):
|
||||
pass
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>texinfo</Name>
|
||||
<Homepage>http://www.gnu.org/software/texinfo/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv3</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>The GNU info program and utilities</Summary>
|
||||
<Description>Texinfo is a documentation system that can produce both online information and printed output from a single source file. The GNU Project uses the Texinfo file format for most of its documentation.</Description>
|
||||
<Archive sha1sum="dc54edfbb623d46fb400576b3da181f987e63516" type="targz">mirrors://gnu/texinfo/texinfo-5.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>ncurses</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>texinfo</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>ncurses</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<AdditionalFiles>
|
||||
<!--<AdditionalFile owner="root" permission="0755" target="/usr/bin/texi2dvi">texi2dvi</AdditionalFile>-->
|
||||
<!--<AdditionalFile owner="root" permission="0644" target="/usr/share/texmf/tex/texinfo/texinfo.tex">texinfo.tex</AdditionalFile>-->
|
||||
</AdditionalFiles>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="info">/usr/share/info</Path>
|
||||
<Path fileType="data">/usr/share/texinfo</Path>
|
||||
<Path fileType="data">/usr/share/texmf/tex/texinfo</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/texmf/</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="pakhandler.py">System.PackageHandler</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>5.2</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>5.2</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-10-22</Date>
|
||||
<Version>5.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-09-05</Date>
|
||||
<Version>4.13</Version>
|
||||
<Comment>Add missing method to pakhandler.py</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-11</Date>
|
||||
<Version>4.13</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>texinfo</Name>
|
||||
<Summary xml:lang="tr">GNU info (bilgi) programı ve araçları</Summary>
|
||||
<Summary xml:lang="fr">programme et utilitaires GNU info.</Summary>
|
||||
<Summary xml:lang="de">GNU Info Prgramm und Werkzeuge</Summary>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user