mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 01:58:35 +04:00
libmpc: Add package
From the documentation: GNU MPC is a portable library written in C for arbitrary precision arithmetic on complex numbers providing correct rounding. It implements a multiprecision equivalent of the C99 standard. It builds upon the GNU MP and the GNU MPFR libraries. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
22
libs/libmpc/patches/001-only-src.patch
Normal file
22
libs/libmpc/patches/001-only-src.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -23,7 +23,7 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
# VERSION = @VERSION@@GITVERSION@ # for development version
|
||||
VERSION = @VERSION@
|
||||
|
||||
-SUBDIRS = src tests doc tools
|
||||
+SUBDIRS = src
|
||||
|
||||
EXTRA_HEADERS = src/mpc-log.h
|
||||
include_HEADERS = src/mpc.h @MPC_LOG_H@
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -376,7 +376,7 @@ top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
-SUBDIRS = src tests doc tools
|
||||
+SUBDIRS = src
|
||||
EXTRA_HEADERS = src/mpc-log.h
|
||||
include_HEADERS = src/mpc.h @MPC_LOG_H@
|
||||
EXTRA_DIST = doc/fdl-1.3.texi src/mpc-log.h
|
||||
Reference in New Issue
Block a user