create core package
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#!/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 autotools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
|
||||
def setup():
|
||||
options = "--enable-shared"
|
||||
|
||||
if not get.buildTYPE() == "emul32":
|
||||
options += " --libdir=/usr/lib"
|
||||
|
||||
autotools.configure(options)
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
#pisitools.remove("/usr/lib32/*.a")
|
||||
return
|
||||
|
||||
#pisitools.remove("/usr/lib/*.a")
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "README", "nettle.pdf")
|
||||
@@ -0,0 +1,104 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>nettle</Name>
|
||||
<Homepage>http://www.gnu.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<PartOf>util.crypt</PartOf>
|
||||
<IsA>library</IsA>
|
||||
<Summary>The Nettle package contains the low-level cryptographic library</Summary>
|
||||
<Description>The Nettle package contains the low-level cryptographic library that is designed to fit easily in many contexts.</Description>
|
||||
<Archive sha1sum="e7477df5f66e650c4c4738ec8e01c2efdb5d1211" type="targz">ftp://ftp.gnu.org/gnu/nettle/nettle-2.7.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gmp-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>nettle</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gmp</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/info</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>nettle-devel</Name>
|
||||
<Summary>Nettle için geliştirme dosyaları</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">nettle</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="header">/usr/lib/pkgconfig/nettle.pc</Path>
|
||||
<Path fileType="header">/usr/lib/pkgconfig/hogweed.pc</Path>
|
||||
<Path fileType="library">/usr/lib32/pkgconfig/nettle.pc</Path>
|
||||
<Path fileType="library">/usr/lib32/pkgconfig/hogweed.pc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>nettle-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for nettle</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>gmp-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">nettle-devel</Dependency>
|
||||
<Dependency>gmp-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>2.7.1</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-08-28</Date>
|
||||
<Version>2.7.1</Version>
|
||||
<Comment>Version bump, clean nettle.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-07-26</Date>
|
||||
<Version>2.6</Version>
|
||||
<Comment>Move pc files to devel pack, rebuild.</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-02-14</Date>
|
||||
<Version>2.6</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Ertan Güven</Name>
|
||||
<Email>ertan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-09-29</Date>
|
||||
<Version>2.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>nettle</Name>
|
||||
<Summary xml:lang="en">The Nettle package contains the low-level cryptographic library.</Summary>
|
||||
<Summary xml:lang="pl">Nettle - biblioteka kryptograficzna.</Summary>
|
||||
<Description xml:lang="en">The Nettle package contains the low-level cryptographic library that is designed to fit easily in many contexts.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>nettle-devel</Name>
|
||||
<Summary xml:lang="tr">nettle için geliştirme dosyaları.</Summary>
|
||||
<Summary xml:lang="pl">Pliki nagłówkowe biblioteki nettle.</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user