diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/gmp |
Initial import
Diffstat (limited to 'package/gmp')
-rw-r--r-- | package/gmp/Config.in | 14 | ||||
-rw-r--r-- | package/gmp/Makefile | 27 | ||||
-rw-r--r-- | package/gmp/ipkg/libgmp.control | 4 |
3 files changed, 45 insertions, 0 deletions
diff --git a/package/gmp/Config.in b/package/gmp/Config.in new file mode 100644 index 000000000..e681b6519 --- /dev/null +++ b/package/gmp/Config.in @@ -0,0 +1,14 @@ +config ADK_COMPILE_GMP + tristate + default n + depends ADK_PACKAGE_LIBGMP + +config ADK_PACKAGE_LIBGMP + prompt "libgmp............................ GNU multiprecision arithmetic library" + tristate + default n + select ADK_COMPILE_GMP + help + GNU multiprecision arithmetic library + + http://www.swox.com/gmp/ diff --git a/package/gmp/Makefile b/package/gmp/Makefile new file mode 100644 index 000000000..a467fa713 --- /dev/null +++ b/package/gmp/Makefile @@ -0,0 +1,27 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= gmp +PKG_VERSION:= 4.2.2 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 7ce52531644e6d12f16911b7e3151f3f +MASTER_SITES:= ${MASTER_SITE_GNU:=gmp/} +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,LIBGMP,libgmp,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE:= gnu +BUILD_STYLE:= auto +INSTALL_STYLE:= auto + +post-install: + ${INSTALL_DIR} ${IDIR_LIBGMP}/usr/lib + ${CP} ${WRKINST}/usr/lib/libgmp.so.* ${IDIR_LIBGMP}/usr/lib/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/gmp/ipkg/libgmp.control b/package/gmp/ipkg/libgmp.control new file mode 100644 index 000000000..169002856 --- /dev/null +++ b/package/gmp/ipkg/libgmp.control @@ -0,0 +1,4 @@ +Package: libgmp +Priority: optional +Section: net +Description: GNU multiprecision arithmetic library |