create core package
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/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.configure("--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def check():
|
||||
# Needs dejagnu package
|
||||
autotools.make("check")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
# Remove duplicated header files
|
||||
pisitools.removeDir("/usr/lib32/%s" % get.srcDIR())
|
||||
# Fix emul32 includedir
|
||||
pisitools.dosym("/usr/lib/%s/include" % get.srcDIR(),
|
||||
"/usr/lib32/%s/include" % get.srcDIR())
|
||||
|
||||
pisitools.dodoc("ChangeLog*", "LICENSE", "README*")
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libffi</Name>
|
||||
<Homepage>http://sourceware.org/libffi</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A portable foreign function interface library</Summary>
|
||||
<Description>The libffi library provides a portable, high level programming interface to various calling conventions.</Description>
|
||||
<Archive sha1sum="280c265b789e041c02e5c97815793dfc283fb1e6" type="targz">ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libffi</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libffi.*</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libffi-devel</Name>
|
||||
<PartOf>system.devel</PartOf>
|
||||
<Summary>Development files for libffi</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libffi</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/lib/libffi-*</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
<Path fileType="info">/usr/share/info</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libffi-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for libffi</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libffi</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32/libffi.*</Path>
|
||||
<Path fileType="header">/usr/lib32/libffi-*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2014-12-02</Date>
|
||||
<Version>3.2.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>3.0.13</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-08-31</Date>
|
||||
<Version>3.0.13</Version>
|
||||
<Comment>Version bump, clean libffi.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-02-17</Date>
|
||||
<Version>3.0.12</Version>
|
||||
<Comment>New Release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-07-11</Date>
|
||||
<Version>3.0.11</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdem Artan</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libffi</Name>
|
||||
<Summary xml:lang="tr">Yabancı işlev arayüzleri için taşınabilir bir kitaplık</Summary>
|
||||
<Description xml:lang="tr">libffi kitaplığı, çeşitli işlev çağırma konvansiyonları için taşınabilir ve yüksek düzeyli bir programlama arayüzü sunar.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libffi-devel</Name>
|
||||
<Summary xml:lang="tr">libffi için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libffi-32bit</Name>
|
||||
<Summary xml:lang="tr">libffi için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user