Added libconic_0.19.bb
authorKirtika Ruchandani <kirtibr@gmail.com>
Sat, 23 May 2009 08:39:35 +0000 (14:09 +0530)
committerKirtika Ruchandani <kirtibr@gmail.com>
Sat, 23 May 2009 08:39:35 +0000 (14:09 +0530)
libconic_0.19.bb [new file with mode: 0644]

diff --git a/libconic_0.19.bb b/libconic_0.19.bb
new file mode 100644 (file)
index 0000000..e4433b7
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Nokia internet connectivity library"
+HOMEPAGE = "http://maemo.org"
+LICENSE = "GNU Lesser General Public License-version 2.1"
+SECTION = "base"
+DEPENDS = "dbus gconf icd2-osso-ic"
+PR = "r3"
+
+SRC_URI = "http://repository.maemo.org/pool/diablo/free/libc/${PN}/${PN}_${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+do_configure_prepend(){
+    #Remove all Werror flags
+    sed -i s:-Werror::g configure.ac
+    sed -i s:-Werror::g tests/Makefile.am
+       
+    #Horrible hack follows. The dpkg-parsechangelog
+    #command in the first line used in AC_INIT breaks thing
+    #so do a manual replacement of that line
+    sed -i '1,2d' configure.ac
+    sed -i '1i AC_INIT([${PN}],[${PV}])' configure.ac
+
+}
+
+do_stage() {
+       autotools_stage_all
+}
+