mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Add mpc. Not sure why we didn't have it yet, it is a requirement for
modern gcc builds.
This commit is contained in:
31
dev-libs/mpc/mpc-1.0.1.bep
Normal file
31
dev-libs/mpc/mpc-1.0.1.bep
Normal file
@@ -0,0 +1,31 @@
|
||||
DESCRIPTION="library for multiple-precision complex arithmetics with exact rounding"
|
||||
HOMEPAGE="mpc.multiprecision.org"
|
||||
SRC_URI="http://www.multiprecision.org/mpc/download/mpc-1.0.1.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-libs/gmp = 5.0.5"
|
||||
CHECKSUM_SHA1="8c7e19ad0dd9b3b5cc652273403423d6cf0c5edf"
|
||||
BUILD {
|
||||
cd mpc-1.0.1
|
||||
# libtoolize --force --copy --install
|
||||
# aclocal -I m4
|
||||
# automake --add-missing
|
||||
# autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--datarootdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` \
|
||||
--with-gmp=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd mpc-1.0.1
|
||||
make install
|
||||
}
|
||||
|
||||
TEST {
|
||||
cd mpc-1.0.1
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="GNU LGPL v3"
|
||||
#COPYRIGHT=""
|
||||
Reference in New Issue
Block a user