summaryrefslogtreecommitdiff
path: root/packages/c-ares/c-ares_1.5.3.bb
blob: 7375bda9805279d254a7ab0d387b3dc44009ecb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "c-ares is a C library that resolves names asynchronously."
HOMEPAGE = "http://daniel.haxx.se/projects/c-ares/"
SECTION = "libs"
SRC_URI = "http://daniel.haxx.se/projects/c-ares/c-ares-${PV}.tar.gz"
LICENSE = "MIT"
S = "${WORKDIR}/c-ares-${PV}"
PR = "r1"

inherit autotools

EXTRA_OECONF = "--enable-shared"

do_stage() {
        oe_libinstall -C .libs -a -so libcares ${STAGING_LIBDIR}
	install -d ${STAGING_INCDIR}/ares
	install -m 0644 ares*.h ${STAGING_INCDIR}/ares/
}