mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
* openimageio Re-ordering blocks Adding formerly unreferenced patchset. Doesn't build anyway. * ordereddict Removed "." from SUMMARY Re-ordering blocks * oricutron Removed "." from SUMMARY Still a non-building BEP file * orphilia_dropbox Removed "." from SUMMARY Re-ordering blocks * pachi Removed "(C)" from COPYRIGHT Re-ordering blocks * pari Removed "." from SUMMARY Re-ordering blocks * pciutils Improved DESCRIPTION Re-ordering blocks * phantomlimb Improved SUMMARY Re-ordering blocks * photograbber Removed "." from SUMMARY Re-ordering blocks * piozone Improved DESCRIPTION Re-ordering blocks * plee_the_bear Removed "." and improved SUMMARY Re-ordering blocks * postgresql_server Removed "." from SUMMARY Re-ordering blocks * privoxy Removed "." and improved SUMMARY Re-ordering blocks * proj-4 Removed "." and improved SUMMARY Re-ordering blocks Changed the SOURCE_URI to the github where they moved Added $secondaryArchSuffix to the provided cmd * protobuf Re-ordering blocks Updating and referencing patch Removed out-of-date patch.
76 lines
2.2 KiB
Bash
76 lines
2.2 KiB
Bash
SUMMARY="A specialized computer algebra system"
|
|
DESCRIPTION="PARI/GP is a specialized computer algebra system, primarily \
|
|
aimed at number theorists, but has been put to good use in many other \
|
|
different fields, from topology or numerical analysis to physics.
|
|
|
|
Although quite an amount of symbolic manipulation is possible, PARI does \
|
|
badly compared to systems like Axiom, Magma, Maple, Mathematica, Maxima, or \
|
|
Reduce on such tasks, e.g.~multivariate polynomials, formal integration, \
|
|
etc. On the other hand, the three main advantages of the system are its \
|
|
speed, the possibility of using directly data types which are familiar to \
|
|
mathematicians, and its extensive algebraic number theory module (from \
|
|
the above-mentioned systems, only Magma provides similar features)."
|
|
HOMEPAGE="http://pari.math.u-bordeaux.fr/"
|
|
COPYRIGHT="2000-2014 The PARI Group, Bordeaux"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="ffe9940194b4a1274d8aa690d985e11539be36fcdd2215b74c39b30470a567c2"
|
|
PATCHES="$portVersionedName.patchset"
|
|
|
|
ARCHITECTURES="x86 ?x86_gcc2 x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
pari$secondaryArchSuffix = $portVersion compat >= 2
|
|
cmd:gp
|
|
cmd:gp_2.7
|
|
cmd:gphelp
|
|
cmd:tex2mail
|
|
lib:libpari_gmp$secondaryArchSuffix = $portVersion compat >= 2
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgmp$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
pari${secondaryArchSuffix}_devel = $portVersion compat >= 2
|
|
devel:libpari_gmp$secondaryArchSuffix = $portVersion compat >= 2
|
|
"
|
|
REQUIRES_devel="
|
|
pari$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgmp$secondaryArchSuffix
|
|
devel:libncurses$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
./Configure --prefix=$prefix --bindir=$binDir --includedir=$includeDir \
|
|
--libdir=$libDir --mandir=$manDir --datadir=$dataDir \
|
|
--sysdatadir=$sysDataDir
|
|
cd Ohaiku-*
|
|
make $jobArgs all
|
|
cd ..
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm $libDir/libpari.so
|
|
prepareInstalledDevelLib libpari-gmp
|
|
fixPkgconfig
|
|
packageEntries devel $developDir
|
|
}
|