mpfr 2.3.1
This commit is contained in:
parent
6c59f4733d
commit
2ba9dd5abe
65
mpfr/build.sh
Executable file
65
mpfr/build.sh
Executable file
@ -0,0 +1,65 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# This is a generic build.sh script
|
||||||
|
# It can be used nearly unmodified with many packages
|
||||||
|
#
|
||||||
|
# build.sh helper functions
|
||||||
|
. ${BUILDPKG_BASE}/scripts/build.sh.functions
|
||||||
|
#
|
||||||
|
###########################################################
|
||||||
|
# Check the following 4 variables before running the script
|
||||||
|
topdir=mpfr
|
||||||
|
version=2.3.1
|
||||||
|
pkgver=1
|
||||||
|
source[0]=$topdir-$version.tar.bz2
|
||||||
|
# If there are no patches, simply comment this
|
||||||
|
#patch[0]=
|
||||||
|
|
||||||
|
# Source function library
|
||||||
|
. ${BUILDPKG_BASE}/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 AUTHORS BUGS COPYING* FAQ.html NEWS TODO
|
||||||
|
}
|
||||||
|
|
||||||
|
reg pack
|
||||||
|
pack()
|
||||||
|
{
|
||||||
|
generic_pack
|
||||||
|
}
|
||||||
|
|
||||||
|
reg distclean
|
||||||
|
distclean()
|
||||||
|
{
|
||||||
|
clean distclean
|
||||||
|
}
|
||||||
|
|
||||||
|
###################################################
|
||||||
|
# No need to look below here
|
||||||
|
###################################################
|
||||||
|
build_sh $*
|
24
mpfr/meta/pkgdef
Normal file
24
mpfr/meta/pkgdef
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
[mpfr]
|
||||||
|
pkgname="${pkgprefix}${topdir}"
|
||||||
|
name="$topdir - MPFR library"
|
||||||
|
pkgcat="system"
|
||||||
|
pkgvendor="http://www.mpfr.org"
|
||||||
|
pkgdesc="C library for multiple-precision floating-point computations with exact rounding"
|
||||||
|
pkgver="$pkgver"
|
||||||
|
files(-,root,bin)
|
||||||
|
default_docs
|
||||||
|
$_libdir/*.so.*
|
||||||
|
$_infodir
|
||||||
|
|
||||||
|
[mpfr-devel]
|
||||||
|
pkgname="${pkgprefix}${topdir}d"
|
||||||
|
name="${topdir}-devel - Development support for mpfr"
|
||||||
|
pkgcat="system"
|
||||||
|
pkgvendor="http://www.mpfr.org"
|
||||||
|
pkgdesc="Files need for developing with mpfr"
|
||||||
|
pkgver="$pkgver"
|
||||||
|
files(-,root,bin)
|
||||||
|
$_libdir/*.so
|
||||||
|
$_libdir/*.a
|
||||||
|
$_includedir
|
||||||
|
|
27
mpfr/meta/relnotes
Normal file
27
mpfr/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