Add a ton of missing package DESCRIPTION fields.
[vuplus_openembedded] / adns / adns_1.0.oe
1 DEPENDS = "virtual/libc"
2 RDEPENDS = "libc6"
3 DESCRIPTION = "An advanced alternative, asynchronous resolver."
4
5 SRC_URI = "ftp://ftp.gnu.org/gnu/adns/adns-${PV}.tar.gz \
6            file://${FILESDIR}/configure.patch;patch=1"
7
8 inherit autotools
9
10 acpaths=
11 do_configure_prepend () {
12         if ! test -e acinclude.m4; then
13                 cp aclocal.m4 acinclude.m4
14         fi
15 }
16
17 do_stage () {
18         install -m 0644 ${S}/src/adns.h ${STAGING_INCDIR}/
19         install -m 0644 ${S}/src/libadns.a ${STAGING_LIBDIR}/
20         install -m 0755 ${S}/dynamic/libadns.so.1.0 ${STAGING_LIBDIR}/
21         ln -sf libadns.so.1.0 ${STAGING_LIBDIR}/libadns.so.1
22         ln -sf libadns.so.1.0 ${STAGING_LIBDIR}/libadns.so
23 }
24
25 do_install () {
26         install -d ${D}${prefix} ${D}${exec_prefix} \
27                    ${D}${bindir} ${D}${libdir} ${D}${includedir}
28         oe_runmake 'prefix=${D}${prefix}' 'exec_prefix=${D}${exec_prefix}' \
29                    'bin_dir=${D}${bindir}' 'lib_dir=${D}${libdir}' \
30                    'include_dir=${D}${includedir}' install
31 }