Info2: << Package: secs1d-oct%type_pkg[oct] Version: 0.0.9 Type: oct (3.8.2), forge (secs1d) Revision: 3 Maintainer: Alexander Hansen # unfortunately, Homepage won't do types Homepage: http://octave.sourceforge.net/secs1d/index.html Description: 1D drift-diffusion simulator for Octave DescDetail: << A Drift-Diffusion simulator for 1d semiconductor devices. The package provides the following functions: Drift-Diffusion solvers: secs1d_dd_gummel_map secs1d_dd_newton non-linear Poisson solver: secs1d_nlpoisson_newton Physical constants and material data: secs1d_physical_constants.m secs1d_silicon_material_properties.m << License: GPL2+ BuildDepends: << liboctave%type_pkg[oct]-dev, fftw3, hdf5.9, fink-octave-scripts (>= 0.3.0-1) << Depends: octave%type_pkg[oct]-interpreter Conflicts: octave-forge Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz Source-Checksum: SHA256(48a3ab03ff92478efe3c557144f5fb4b198ab6766f4e2a77a67683114c688aa8) PatchScript: << chmod 644 inst/secs1d_{dd_gummel_map,nlpoisson_newton,silicon_material_properties}.m << 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: << This package: Tweak permissions of .m files to match the standard ones from other packages. Common for all octave-forge packages: Preinst and postinst scripts are dynamically set up via %p/share/fink-octave-scripts/octave-forge-patch.sh 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. << <<