flint:first pisi rel

This commit is contained in:
blue-devil
2020-05-21 02:21:46 +03:00
parent 0e259c013f
commit 792fbcc631
4 changed files with 116 additions and 0 deletions
+24
View File
@@ -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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
autotools.rawConfigure("--prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-ntl=/usr")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("README*")
"""
TODO
* fix rpath
"""
@@ -0,0 +1,17 @@
Description: invoke $(CC) with -r and not -Wl,-r to fix FTBFS with PIE enabled
Author: Logan Rosen <logan@ubuntu.com>
Forwarded: yes
diff --git a/Makefile.subdirs b/Makefile.subdirs
index ec05fb0..f2d8b37 100644
--- a/Makefile.subdirs
+++ b/Makefile.subdirs
@@ -59,7 +59,7 @@ $(BUILD_DIR)/$(MOD_DIR)_%.o: %.c
$(QUIET_CC) $(CC) $(CFLAGS) $(INCS) -c $< -o $@ -MMD -MP -MF "$(BUILD_DIR)/$(MOD_DIR)_$*.d" -MT "$(BUILD_DIR)/$(MOD_DIR)_$*.d" -MT "$@"
$(MOD_LOBJ): $(LOBJS)
- $(QUIET_CC) $(CC) $(ABI_FLAG) -Wl,-r $^ -o $@ -nostdlib
+ $(QUIET_CC) $(CC) $(ABI_FLAG) -r $^ -o $@ -nostdlib
-include $(LOBJS:.lo=.d)
+61
View File
@@ -0,0 +1,61 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>flint</Name>
<Homepage>http://www.flintlib.org/</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>science.misc</PartOf>
<License>LGPLv2+</License>
<IsA>library</IsA>
<Summary>Fast Library for Number Theory.</Summary>
<Description>FLINT is a C library for doing number theory. FLINT supports arithmetic with numbers, polynomials, power series and matrices over many base rings.</Description>
<Archive sha1sum="67c747ec92dda0dbc57ab88e2c501b11537299a5" type="targz">http://www.flintlib.org/flint-2.5.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>gmp-devel</Dependency>
<Dependency>ntl-devel</Dependency>
<Dependency>mpfr-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>flint-pie-hardening-conflict.patch</Patch>
</Patches>
</Source>
<Package>
<Name>flint</Name>
<Summary>Fast Library for Number Theory.</Summary>
<RuntimeDependencies>
<Dependency>gmp</Dependency>
<Dependency>ntl</Dependency>
<Dependency>mpfr</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/flint</Path>
</Files>
</Package>
<Package>
<Name>flint-devel</Name>
<Summary>Development files for flint</Summary>
<RuntimeDependencies>
<Dependency release="current">flint</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-05-20</Date>
<Version>2.5.2</Version>
<Comment>First pisi release.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>flint</Name>
<Summary xml:lang="tr">Sayı kuramı için hızlı bir kitaplık.</Summary>
<Description xml:lang="tr">flint, sayı kuramı için hızlı bir kitaplık sunar.</Description>
</Source>
<Package>
<Name>flint-devel</Name>
<Summary xml:lang="tr">flint için geliştirme dosyaları</Summary>
<Description xml:lang="tr">flint-devel, flint için geliştirme dosyalarını içerir.</Description>
</Package>
</PISI>