guile2.0: legacy pisi release

This commit is contained in:
blue-devil
2020-09-09 00:55:52 +02:00
parent 9c8b70d7eb
commit 017f8f0a44
3 changed files with 148 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
#!/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
autotools.autoreconf("-vif")
autotools.configure("--enable-nls \
--enable-posix \
--with-modules \
--with-threads \
--enable-regex \
--disable-rpath \
--disable-static \
--enable-networking \
--program-suffix=2.0 \
--disable-error-on-warning")
# fix unused direct dependency analysis
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
# Put flags in front of the libs. Needed for --as-needed.
#replace = (r"(\\\$deplibs) (\\\$compiler_flags)", r"\2 \1")
#pisitools.dosed("libtool", *replace)
#pisitools.dosed("*/libtool", *replace)
def build():
autotools.make()
def install():
autotools.install()
#major = ".".join(get.srcVERSION().split(".")[:2])
#pisitools.dodir("/etc/env.d")
#shelltools.echo("%s/etc/env.d/50guile" % get.installDIR(), 'GUILE_LOAD_PATH="/usr/share/guile/%s"' % major)
# revove scm file
pisitools.remove("/usr/lib/libguile-2.0.so.*.scm")
#pisitools.domove("/usr/lib/libguile-2.0.so.*.scm", "/usr/share/gdb/auto-load")
# remover info files to avoid conflicts
pisitools.removeDir("/usr/share/info/")
pisitools.rename("/usr/share/aclocal/guile.m4", "guile2.0.m4")
pisitools.dodoc("COPYING*", "LICENSE", "HACKING", "README")
+81
View File
@@ -0,0 +1,81 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>guile2.0</Name>
<Homepage>https://www.gnu.org/software/guile/</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>programming.misc</PartOf>
<License>GPL</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>GNU Scheme interpreter and library</Summary>
<Description>GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library implementation of the Scheme programming language, written in C. GUILE provides a machine-independent execution platform that can be linked in as a library during the building of extensible programs.</Description>
<Archive sha1sum="88cac56a7c017aae29a581772146057a9cd283f9" type="tarxz">https://ftp.gnu.org/pub/gnu/guile/guile-2.0.14.tar.xz</Archive>
<BuildDependencies>
<Dependency>gc-devel</Dependency>
<Dependency>gmp-devel</Dependency>
<Dependency>libffi-devel</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>readline-devel</Dependency>
<Dependency>libunistring-devel</Dependency>
</BuildDependencies>
<Patches>
</Patches>
</Source>
<Package>
<Name>guile2.0</Name>
<Summary>GNU Scheme interpreter and library</Summary>
<RuntimeDependencies>
<Dependency>gc</Dependency>
<Dependency>gmp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/guile</Path>
<Path fileType="library">/usr/lib/guile/2.0</Path>
<Path fileType="library">/usr/lib/libguile-2.0*</Path>
<Path fileType="library">/usr/lib/libguilereadline-v-18*</Path>
<!--
<Path fileType="config">/etc</Path>
<Path fileType="data">/usr/share/emacs</Path>
<Path fileType="data">/usr/share/gdb/auto-load</Path>
-->
</Files>
</Package>
<Package>
<Name>guile2.0-devel</Name>
<Summary>Development files for guile2.0</Summary>
<RuntimeDependencies>
<Dependency>gc-devel</Dependency>
<Dependency>gmp-devel</Dependency>
<Dependency release="current">guile2.0</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/aclocal</Path>
<!--
<Path fileType="executable">/usr/bin/guile-snarf</Path>
<Path fileType="executable">/usr/bin/guile-config</Path>
-->
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-09-07</Date>
<Version>2.0.14</Version>
<Comment>First Pisi Release</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,16 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>guile2.0</Name>
<Summary xml:lang="tr">GNU Scheme yorumlayıcısı ve kitaplığı</Summary>
<Summary xml:lang="fr">Interpréteur et librairie GNU Scheme.</Summary>
<Summary xml:lang="pl">Język GNU Extension language.</Summary>
</Source>
<Package>
<Name>guile2.0-devel</Name>
<Summary xml:lang="tr">guile2.0 için geliştirme dosyaları</Summary>
<Description xml:lang="tr">guile2.0-devel, guile2.0 için geliştirme dosyalarını içerir.</Description>
<Summary xml:lang="pl">Pliki nagłówkowe guile2.0.</Summary>
</Package>
</PISI>