dotconf: rename to libdotonf, fix packaging
authorJunqian Gordon Xu <xjqian@gmail.com>
Fri, 4 Jan 2008 04:40:14 +0000 (04:40 +0000)
committerJunqian Gordon Xu <xjqian@gmail.com>
Fri, 4 Jan 2008 04:40:14 +0000 (04:40 +0000)
* follow debian naming and packaging
* change dependency in speech-dispatcher

packages/dotconf/dotconf_1.0.13.bb [deleted file]
packages/libdotconf/.mtn2git_empty [moved from packages/dotconf/.mtn2git_empty with 100% similarity]
packages/libdotconf/files/.mtn2git_empty [moved from packages/dotconf/files/.mtn2git_empty with 100% similarity]
packages/libdotconf/files/srcMakefile.am_00.patch [moved from packages/dotconf/files/srcMakefile.am_00.patch with 100% similarity]
packages/libdotconf/libdotconf_1.0.13.bb [new file with mode: 0644]
packages/speech-dispatcher/speech-dispatcher_0.6.5.bb

diff --git a/packages/dotconf/dotconf_1.0.13.bb b/packages/dotconf/dotconf_1.0.13.bb
deleted file mode 100644 (file)
index 332cba9..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-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/${PN}-${PV}.tar.gz \
-         file://srcMakefile.am_00.patch;patch=1"
-
-do_stage () {
-        install -m 0644 ${S}/src/*.h ${STAGING_INCDIR}/
-        oe_libinstall -C src -a -so libdotconf ${STAGING_LIBDIR}/
-}
diff --git a/packages/libdotconf/libdotconf_1.0.13.bb b/packages/libdotconf/libdotconf_1.0.13.bb
new file mode 100644 (file)
index 0000000..0552051
--- /dev/null
@@ -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}/
+}
index 4f70def..ac001bf 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = " Speech Dispatcher is a high-level device independent layer \
 for speech synthesis through a simple, stable and well documented interface."
 HOMEPAGE = "http://www.freebsoft.org/speechd/"
 LICENSE = "GPLv2"
-DEPENDS = "flite dotconf glib-2.0"
+DEPENDS = "flite libdotconf glib-2.0"
 RPROVIDES += "speechd"
 
 PR = "r0"