summaryrefslogtreecommitdiff
path: root/gmp/gmp_4.1.2.oe
blob: 3fca4f28c8cb1b79a7e4d5d9ebc8b355f74bf7f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DESCRIPTION = GNU multiprecision arithmetic library
DEPENDS = virtual/libc
RDEPENDS = libc6

SRC_URI = ftp://mirrors.kernel.org/gnu/${PN}/${P}.tar.gz \
	  file://${FILESDIR}/configure.patch;patch=1

inherit autotools libtool

acpaths = -I . -I mpn -I mpfr

do_stage () {
	install -m 0644 ${S}/.libs/libgmp.lai ${STAGING_LIBDIR}/libgmp.la
	oe_soinstall ${S}/.libs/libgmp.so.3.3.2 ${STAGING_LIBDIR}
	install -m 0644 ${S}/gmp.h ${STAGING_INCDIR}/gmp.h
}