1 # Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
2 # Released under the MIT license (see COPYING.MIT for the terms)
4 DESCRIPTION = "Nokia internet connectivity library"
5 HOMEPAGE = "http://maemo.org"
6 LICENSE = "GNU Lesser General Public License-version 2.1"
8 DEPENDS = "dbus gconf icd2-osso-ic"
11 SRC_URI = "http://repository.maemo.org/pool/diablo/free/libc/${PN}/${PN}_${PV}.tar.gz"
13 inherit autotools pkgconfig
15 do_configure_prepend(){
16 #Remove all Werror flags
17 sed -i s:-Werror::g configure.ac
18 sed -i s:-Werror::g tests/Makefile.am
20 #Horrible hack follows. The dpkg-parsechangelog
21 #command in the first line used in AC_INIT breaks thing
22 #so do a manual replacement of that line
23 sed -i '1,2d' configure.ac
24 sed -i '1i AC_INIT([${PN}],[${PV}])' configure.ac