gdal OK
This commit is contained in:
@@ -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():
|
||||
shelltools.export("CPPFLAGS", "-DNDEBUG -fPIC")
|
||||
shelltools.export("FC", "gfortran")
|
||||
shelltools.export("F90", "gfortran")
|
||||
shelltools.export("FFLAGS", "-fPIC %s" % get.CFLAGS())
|
||||
shelltools.export("FCFLAGS", "-fPIC %s" % get.CFLAGS())
|
||||
shelltools.export("F90FLAGS", "-fPIC %s" % get.CFLAGS())
|
||||
|
||||
autotools.configure("--enable-shared \
|
||||
--enable-netcdf-4 \
|
||||
--enable-dap-netcdf \
|
||||
--disable-static \
|
||||
")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def check():
|
||||
autotools.make("-j1 check")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
#pisitools.dodoc("README")
|
||||
@@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>netcdf</Name>
|
||||
<Homepage>http://my.unidata.ucar.edu/content/software/netcdf/index.html</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>UCAR-Unidata</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Scientific library and interface for array oriented data access</Summary>
|
||||
<Description>netcdf (network common data form) is a set of software libraries and machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.</Description>
|
||||
<Archive sha1sum="cb7de8f14ddeef5e66cbc688e0a127a405d580af" type="targz">ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.4.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>hdf5-devel</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
<Dependency>libgfortran</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--<Patch level="1">link-with-hdf5.patch</Patch>-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>netcdf</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>hdf5</Dependency>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>libgfortran</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="info">/usr/share/info</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>netcdf-devel</Name>
|
||||
<Summary>Development files for netcdf</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">netcdf</Dependency>
|
||||
<Dependency>hdf5-devel</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2016-02-25</Date>
|
||||
<Version>4.4.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2015-02-12</Date>
|
||||
<Version>4.3.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-05-31</Date>
|
||||
<Version>4.3.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-01-23</Date>
|
||||
<Version>4.3.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-08-04</Date>
|
||||
<Version>4.3.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-11</Date>
|
||||
<Version>4.2.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>netcdf</Name>
|
||||
<Summary xml:lang="tr">Dizi (array) odaklı veri erişimi için arayüz ve bilimsel kütüphane</Summary>
|
||||
<Summary xml:lang="fr">Librairie scientifique et interface pour l'accès aux données orientées tableaux.</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>netcdf-devel</Name>
|
||||
<Summary xml:lang="tr">netcdf için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>netcdf-devel</Name>
|
||||
<Summary xml:lang="tr">netcdf için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user