gmp 4.2.2
This commit is contained in:
parent
406cdc729b
commit
6c59f4733d
66
gmp/build.sh
Executable file
66
gmp/build.sh
Executable file
@ -0,0 +1,66 @@
|
||||
#!/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=gmp
|
||||
version=4.2.2
|
||||
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 LDFLAGS="-L$prefix/lib -R$prefix/lib"
|
||||
[ "$_os" = "sunos56" -a "$arch" = "sparc" ] && triplet="sparc-sun-solaris2.6"
|
||||
configure_args="--host=$triplet --build=$triplet $configure_args"
|
||||
|
||||
reg prep
|
||||
prep()
|
||||
{
|
||||
generic_prep
|
||||
}
|
||||
|
||||
reg build
|
||||
build()
|
||||
{
|
||||
generic_build
|
||||
}
|
||||
|
||||
reg check
|
||||
check()
|
||||
{
|
||||
generic_check
|
||||
}
|
||||
|
||||
reg install
|
||||
install()
|
||||
{
|
||||
generic_install DESTDIR
|
||||
doc AUTHORS COPYING COPYING.LIB NEWS README
|
||||
}
|
||||
|
||||
reg pack
|
||||
pack()
|
||||
{
|
||||
generic_pack
|
||||
}
|
||||
|
||||
reg distclean
|
||||
distclean()
|
||||
{
|
||||
clean distclean
|
||||
}
|
||||
|
||||
###################################################
|
||||
# No need to look below here
|
||||
###################################################
|
||||
build_sh $*
|
24
gmp/meta/pkgdef
Normal file
24
gmp/meta/pkgdef
Normal file
@ -0,0 +1,24 @@
|
||||
[gmp]
|
||||
pkgname="${pkgprefix}${topdir}"
|
||||
name="$topdir - GNU MP Bignum library"
|
||||
pkgcat="system"
|
||||
pkgvendor="http://gmplib.org"
|
||||
pkgdesc="A free library for arbitrary precision arithmetic"
|
||||
pkgver="$pkgver"
|
||||
files(-,root,bin)
|
||||
default_docs
|
||||
$_libdir/*.so.*
|
||||
$_infodir
|
||||
|
||||
[gmp-devel]
|
||||
pkgname="${pkgprefix}${topdir}d"
|
||||
name="${topdir}-devel - Development support for gmp"
|
||||
pkgcat="system"
|
||||
pkgvendor="http://gmplib.org"
|
||||
pkgdesc="Files needed for developing with gmp"
|
||||
pkgver="$pkgver"
|
||||
files(-,root,bin)
|
||||
$_libdir/*.so
|
||||
$_libdir/*.a
|
||||
$_includedir
|
||||
|
27
gmp/meta/relnotes
Normal file
27
gmp/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