create core package

This commit is contained in:
aydemir
2015-02-24 11:18:35 +02:00
parent 0e4b743b82
commit 70b25d0f95
1098 changed files with 169545 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
#!/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
def setup():
options = "--disable-static \
--enable-noexecstack"
if get.buildTYPE() == "emul32":
shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
# Use 32-bit assembler, another option is to use --disable-asm option
pisitools.dosed("mpi/config.links", "path=\"amd64\"", "path=\"i586 i386\"")
autotools.configure(options)
def build():
autotools.make()
def check():
autotools.make("check")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
if get.buildTYPE() == "emul32": return
pisitools.dodir("/etc/gcrypt")
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README", "THANKS", "TODO")
+93
View File
@@ -0,0 +1,93 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libgcrypt</Name>
<Homepage>http://www.gnupg.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>General purpose crypto library</Summary>
<Description>Libgcrypt is a general purpose crypto library based on the code used in GNU Privacy Guard.</Description>
<Archive sha1sum="f03d9b63ac3b17a6972fc11150d136925b702f02" type="tarbz2">ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.6.1.tar.bz2</Archive>
<BuildDependencies>
<Dependency>libgpg-error-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libgcrypt</Name>
<RuntimeDependencies>
<Dependency>libgpg-error</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="config">/etc/gcrypt</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="info">/usr/share/info</Path>
</Files>
</Package>
<Package>
<Name>libgcrypt-devel</Name>
<PartOf>system.devel</PartOf>
<Summary>Development files for libgcrypt</Summary>
<RuntimeDependencies>
<Dependency release="current">libgcrypt</Dependency>
<Dependency>libgpg-error-devel</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="data">/usr/lib32/pkgconfig</Path>
<Path fileType="executable">/usr/bin/*-config</Path>
</Files>
</Package>
<Package>
<Name>libgcrypt-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for libgcrypt</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>libgpg-error-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency>libgpg-error-32bit</Dependency>
<Dependency release="current">libgcrypt</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-11</Date>
<Version>1.6.1</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-04-03</Date>
<Version>1.6.1</Version>
<Comment>Version bump.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2011-05-03</Date>
<Version>1.5.0</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+19
View File
@@ -0,0 +1,19 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libgcrypt</Name>
<Summary xml:lang="tr">Genel amaçlı bir şifreleme kitaplığı</Summary>
<Summary xml:lang="fr">Librairie générale de cryptographie basée sur le code utilisé dans GnuPG.</Summary>
<Description xml:lang="tr">Libgcrypt, GNU Privacy Guard kodunu temel alan genel amaçlı bir şifreleme kitaplığıdır.</Description>
</Source>
<Package>
<Name>libgcrypt-devel</Name>
<Summary xml:lang="tr">libgcrypt için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>libgcrypt-32bit</Name>
<Summary xml:lang="tr">libgcrypt için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI>