Info2: <<
Package: secs2d-oct%type_pkg[oct]
Version: 0.0.8
Type: oct (3.8.2), forge (secs2d), gcc (4.9)
Revision: 16
Maintainer: Alexander Hansen <alexkhansen@users.sourceforge.net>
# unfortunately, Homepage won't do types
Homepage: http://octave.sourceforge.net/secs2d/index.html 
Description: 2D drift-diffusion simulator for Octave
DescDetail: <<
A Drift-Diffusion simulator for 2d semiconductor devices.

The package provides the following functions:
Utilities:
        Ubern
        Ubernoulli
        Umediaarmonica
        UDXappend2Ddata
        UDXoutput2Ddata
        UDXoutput2Dtimeseries
        URREcyclingpattern
        Ucolumns
        Ucompmass2
        Udescaling
        Udopdepmob
        Udrawedge
        Udriftdepmob
        Udriftdiffusion2
        Ufielddepmob
        Ufvsgcurrent
        Ufvsgcurrent2
        Ufvsgcurrent3
        Uinvfermidirac
        Uise2pde
        Ujoinmeshes
        Umeshproperties
        Umsh2pdetool
        Umshcreatemesh
        Unodesonside
        Updegrad
        Updemesh
        Updesurf
        Urows
        Urrextrapolation
        Uscaling
        Uscharfettergummel2
        Usmoothguess
        Ustructmesh
        Ustructmesh_left
        Ustructmesh_random
        Ustructmesh_right
        Usubdomains2
        Usubmesh
        Utemplogm
        secs2d
Finite Element matrix assembly functions:
        Udriftdiffusion
        Ucomplap
        Ucompconst
        Ucompmass
        Uscharfettergummel3
Physical constants and material properties:
        constants
DDGOX:
        DDGOXddcurrent
        DDGOXelectron_driftdiffusion
        DDGOXgummelmap
        DDGOXhole_driftdiffusion
        DDGOXnlpoisson
        DDGOXplotresults
DDGOXT:
        DDGOXTelectron_driftdiffusion
        DDGOXTgummelmap
        DDGOXThole_driftdiffusion
METLINES:
        METLINEScapcomp
        METLINESdefinepermittivity
QDDGOX:
        QDDGOXcompdens
        QDDGOXddcurrent
        QDDGOXgummelmap
        QDDGOXnlpoisson
ThDDGOX:
        ThDDGOXMOBN0STD
        ThDDGOXMOBN1STD
        ThDDGOXMOBP0STD
        ThDDGOXMOBP1STD
        ThDDGOXTWN0STD
        ThDDGOXTWN1STD
        ThDDGOXTWP0STD
        ThDDGOXTWP1STD
        ThDDGOXddcurrent
        ThDDGOXelectron_driftdiffusion
        ThDDGOXeletiteration
        ThDDGOXgummelmap
        ThDDGOXhole_driftdiffusion
        ThDDGOXnlpoisson
        ThDDGOXthermaliteration
        ThDDGOXupdateelectron_temp
        ThDDGOXupdatehole_temp
        ThDDGOXupdatelattice_temp
<<
DescUsage: <<
The build process for the package's help text appears not to get along with 
Octave-3.8.x.  Talk to upstream about that.
<<
License: GPL2+

BuildDepends: <<
  liboctave%type_pkg[oct]-dev,
  fftw3,
  hdf5.9,
  fink-octave-scripts (>= 0.3.0-1) 
<<
Depends: << 
  octave%type_pkg[oct]-interpreter
<<
Recommends: dx, gmsh

Conflicts: octave-forge

Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz
Source-Checksum: SHA256(4f1945e3324487f08b8d7ef7ead55b6d29595d435472b52d83b358934a6d45f7)

NoSetCPPFLAGS: true
NoSetLDFLAGS: true
UseMaxBuildJobs: false
BuildAsNobody: false

CompileScript: <<
#!/bin/sh -ev

pkgsrc=%type_raw[forge]-%v

##### Invariant stuff begins here #####
%p/share/fink-octave-scripts/octave-forge-patch.sh %type_raw[forge] %v %type_raw[oct] %b %i $pkgsrc
./octave-forge-compile.sh
<<

InstallScript: ./octave-forge-install.sh
PostInstScript:  %p/share/octave/%type_raw[oct]/%type_raw[forge]/octave-forge-postinst.sh
PreRmScript: %p/share/octave/%type_raw[oct]/%type_raw[forge]/octave-forge-prerm.sh

DescPackaging: <<
Common for all octave-forge packages:
We read in postinst and prerm template scripts installed by octaveN and modify
them to use the name of this package because Octave's package manager can't 
cope with non-literal arguments.

The Type: forge (pkgname) is used to minimize what needs to be changed when
using this .info file as a template, or when the package name contains 
underscores.
<<
<<