[Angstrom-devel] [REVIEW] navit-0.0.4 backport (1): add libdotconf
Junqian Gordon Xu
xjqian at gmail.com
Sun Mar 30 05:08:27 CEST 2008
In order to backport the navit-0.0.4, changes to the following packages
need to be backported:
navit -> speech-dispatcher -> flite
\ espeak
\ pulseaudio
\ libdotconf
I will propose each backport in a separate request. This request is to
add libdotconf to the stable branch. mtn diff attached, but probably
easier to just look at the libdotconf in .dev.
btw, should I send [Review] to angstrom-dev or oe-stable ML? I'm a
little confused right now.
Regards
Gordon
#
#
# add_dir "packages/libdotconf"
#
# add_dir "packages/libdotconf/files"
#
# add_file "packages/libdotconf/files/srcMakefile.am_00.patch"
# content [7cf891b5ee3b478c01d747bf23bb96cf877712cc]
#
# add_file "packages/libdotconf/libdotconf_1.0.13.bb"
# content [245a00b2859c9b2e151d7d41515c2888a4561d3d]
#
============================================================
--- packages/libdotconf/files/srcMakefile.am_00.patch
7cf891b5ee3b478c01d747bf23bb96cf877712cc
+++ packages/libdotconf/files/srcMakefile.am_00.patch
7cf891b5ee3b478c01d747bf23bb96cf877712cc
@@ -0,0 +1,9 @@
+--- dotconf-1.0.13/src/Makefile.am.orig 2008-01-02 11:48:16.000000000 +0000
++++ dotconf-1.0.13/src/Makefile.am 2008-01-02 11:48:22.000000000 +0000
+@@ -1,5 +1,5 @@
+
+-INCLUDES = -I. -I$(includedir)
++INCLUDES = -I.
+
+ include_HEADERS = dotconf.h
+ noinst_HEADERS = readdir.h
============================================================
--- packages/libdotconf/libdotconf_1.0.13.bb
245a00b2859c9b2e151d7d41515c2888a4561d3d
+++ packages/libdotconf/libdotconf_1.0.13.bb
245a00b2859c9b2e151d7d41515c2888a4561d3d
@@ -0,0 +1,25 @@
+DESCRIPTION = " dot.conf is an easy to use and powerful configuration
file parser library"
+HOMEPAGE = "http://www.azzit.de/dotconf/"
+LICENSE = "LGPLv2"
+
+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}/
+}
More information about the Angstrom-distro-devel
mailing list