mpc 0.8.1 for Solaris 7/sparc
This commit is contained in:
parent
3f45f625be
commit
f7d63b9a05
62
mpc/build.sh
Executable file
62
mpc/build.sh
Executable file
@ -0,0 +1,62 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# This is a buildpkg build.sh script
|
||||||
|
# build.sh helper functions
|
||||||
|
. ${BUILDPKG_SCRIPTS}/build.sh.functions
|
||||||
|
#
|
||||||
|
###########################################################
|
||||||
|
# Check the following 4 variables before running the script
|
||||||
|
topdir=mpc
|
||||||
|
version=0.8.1
|
||||||
|
pkgver=1
|
||||||
|
source[0]=http://multiprecision.org/mpc/download/$topdir-$version.tar.gz
|
||||||
|
# If there are no patches, simply comment this
|
||||||
|
#patch[0]=
|
||||||
|
|
||||||
|
# Source function library
|
||||||
|
. ${BUILDPKG_SCRIPTS}/buildpkg.functions
|
||||||
|
|
||||||
|
# Global settings
|
||||||
|
export CPPFLAGS="-I$prefix/include"
|
||||||
|
export LDFLAGS="-L$prefix/lib -R$prefix/lib"
|
||||||
|
|
||||||
|
reg prep
|
||||||
|
prep()
|
||||||
|
{
|
||||||
|
generic_prep
|
||||||
|
}
|
||||||
|
|
||||||
|
reg build
|
||||||
|
build()
|
||||||
|
{
|
||||||
|
generic_build
|
||||||
|
}
|
||||||
|
|
||||||
|
reg check
|
||||||
|
check()
|
||||||
|
{
|
||||||
|
generic_check
|
||||||
|
}
|
||||||
|
|
||||||
|
reg install
|
||||||
|
install()
|
||||||
|
{
|
||||||
|
generic_install DESTDIR
|
||||||
|
doc README NEWS COPYING.LIB AUTHORS
|
||||||
|
}
|
||||||
|
|
||||||
|
reg pack
|
||||||
|
pack()
|
||||||
|
{
|
||||||
|
generic_pack
|
||||||
|
}
|
||||||
|
|
||||||
|
reg distclean
|
||||||
|
distclean()
|
||||||
|
{
|
||||||
|
clean distclean
|
||||||
|
}
|
||||||
|
|
||||||
|
###################################################
|
||||||
|
# No need to look below here
|
||||||
|
###################################################
|
||||||
|
build_sh $*
|
4
mpc/meta/ChangeLog
Normal file
4
mpc/meta/ChangeLog
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
CHANGELOG
|
||||||
|
---------
|
||||||
|
* Sat May 08 2010 Tom G. Christensen <swpkg@jupiterrise.com> - 0.8.1-1
|
||||||
|
- Initial build
|
24
mpc/meta/pkgdef
Normal file
24
mpc/meta/pkgdef
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
[mpc]
|
||||||
|
pkgname="${pkgprefix}${topdir}"
|
||||||
|
name="$topdir - MPC library"
|
||||||
|
pkgcat="system"
|
||||||
|
pkgvendor="http://multiprecision.org/"
|
||||||
|
pkgdesc="C library for the arithmetic of complex numbers"
|
||||||
|
pkgver="$pkgver"
|
||||||
|
files(-,root,bin)
|
||||||
|
default_docs
|
||||||
|
$_libdir/*.so.*
|
||||||
|
$_infodir
|
||||||
|
|
||||||
|
[mpc-devel]
|
||||||
|
pkgname="${pkgprefix}${topdir}d"
|
||||||
|
name="${topdir}-devel - Development support for mpc"
|
||||||
|
pkgcat="system"
|
||||||
|
pkgvendor="http://multiprecision.org/"
|
||||||
|
pkgdesc="Files needed for developing with mpc"
|
||||||
|
pkgver="$pkgver"
|
||||||
|
files(-,root,bin)
|
||||||
|
$_libdir/*.so
|
||||||
|
$_libdir/*.a
|
||||||
|
$_includedir/mpc.h
|
||||||
|
|
27
mpc/meta/relnotes
Normal file
27
mpc/meta/relnotes
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
PACKAGE DETAILS
|
||||||
|
---------------
|
||||||
|
Name: %%PKGNAME%%
|
||||||
|
Version: %%SOURCE_AND_VER%%
|
||||||
|
Vendor: %%VENDOR%%
|
||||||
|
Packager: %%PKGEDBY%%
|
||||||
|
|
||||||
|
Source (sha1sum):
|
||||||
|
%%SOURCE_SHA1SUM%%
|
||||||
|
|
||||||
|
BUILD DETAILS
|
||||||
|
-------------
|
||||||
|
Compiler:
|
||||||
|
%%COMPILER%%
|
||||||
|
|
||||||
|
Environment:
|
||||||
|
%%ENVIRONMENT%%
|
||||||
|
|
||||||
|
Configure:
|
||||||
|
%%CONFIGURE%%
|
||||||
|
|
||||||
|
KNOWN DEPENDENCIES
|
||||||
|
------------------
|
||||||
|
%%DEPENDENCIES%%
|
||||||
|
|
||||||
|
ERRORS/MISCELLANEOUS
|
||||||
|
--------------------
|
Loading…
x
Reference in New Issue
Block a user