mpfr 2.3.1

This commit is contained in:
Tom G. Christensen
2008-04-28 08:03:47 +00:00
committed by tgc
parent 6c59f4733d
commit 2ba9dd5abe
3 changed files with 116 additions and 0 deletions

65
mpfr/build.sh Executable file
View 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 $*