summaryrefslogtreecommitdiff
path: root/packages/libdotconf/libdotconf_1.0.13.bb
blob: db1af21fa8aa07a4c247bc19f5f3a176d793462a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
DESCRIPTION = " dot.conf is an easy to use and powerful configuration file parser library"
HOMEPAGE = "http://www.azzit.de/dotconf/"
LICENSE = "LGPLv2"

FILE_PR = "r0"

inherit autotools

SRC_URI = "http://www.azzit.de/dotconf/download/v1.0/dotconf-${PV}.tar.gz \
	  file://srcMakefile.am_00.patch;patch=1"

S = "${WORKDIR}/dotconf-${PV}"

do_install() {
        install -d ${D}${libdir}
        install -d ${D}${includedir}

        install -m 0644 ${S}/src/dotconf.h  ${D}${includedir}
        oe_libinstall -C src -so libdotconf ${D}${libdir}
}

do_stage() {
        install -m 0644 ${S}/src/dotconf.h ${STAGING_INCDIR}/
        oe_libinstall -C src -so libdotconf ${STAGING_LIBDIR}/
}