hdf5:add main

This commit is contained in:
alihanozturk
2016-04-02 22:32:18 +03:00
parent 716bfb1e11
commit 165584666c
3 changed files with 112 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 shelltools
from pisi.actionsapi import get
def setup():
autotools.configure("--prefix=/usr \
--enable-cxx \
--enable-hl \
--enable-threadsafe \
--enable-fortran \
--enable-production \
--enable-linux-lfs \
--enable-unsupported \
--disable-static \
--disable-parallel \
--disable-sharedlib-rpath \
--disable-dependency-tracking \
--docdir=/usr/share/doc/hdf5/ \
--with-pthread=/usr/lib/ \
--with-pic")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("ACKNOWLEDGMENTS", "COPYING", "README*", "release_docs/HISTORY-*", "release_docs/RELEASE.txt")
+60
View File
@@ -0,0 +1,60 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>hdf5</Name>
<Homepage>http://www.hdfgroup.org/HDF5/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<License>NCSA-HDF</License>
<IsA>library</IsA>
<Summary>NCSA Hierarchical Data Format (HDF) Software Library and Utilities</Summary>
<Description>HDF5 is a general purpose library and file format for storing scientific data.</Description>
<Archive sha1sum="a7b631778cb289edec670f665d2c3265983a0d53" type="tarbz2">http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.16.tar.bz2</Archive>
<BuildDependencies>
<Dependency>time</Dependency>
<Dependency>libgfortran</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>net-tools</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>hdf5</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libgfortran</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/hdf5</Path>
<Path fileType="data">/usr/share/hdf5_examples</Path>
</Files>
</Package>
<Package>
<Name>hdf5-devel</Name>
<Summary>Development files for hdf5</Summary>
<RuntimeDependencies>
<Dependency release="current">hdf5</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-04-02</Date>
<Version>1.8.16</Version>
<Comment>Version Bump</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>hdf5</Name>
<Summary xml:lang="tr">NCSA hiyerarşik veri biçimi (Hierarchical Data Format - HDF) kütüphanesi ve araçları.</Summary>
<Description xml:lang="tr">HDF5, bilimsel verileri saklamak için kullanılan bir dosya biçimi tanımını ve bu dosyaları kullanmak için gerekli kütüphane ve araçları sağlar.</Description>
<Description xml:lang="fr">HDF5 est une librairie généraliste ainsi qu'un format de fichier pour stocker des informations scientifiques.</Description>
<Description xml:lang="es">HDF5 es una librería de uso general y un formato de archivos para almacenar datos científicos</Description>
</Source>
<Package>
<Name>hdf5-devel</Name>
<Summary xml:lang="tr">hdf5 için geliştirme dosyaları</Summary>
</Package>
</PISI>