Received: from [83.222.19.8] (helo=mail.asoft.ru) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1M7y3j-0004B7-MI for openembedded-devel@openembedded.org; Sat, 23 May 2009 22:43:11 +0200 Received: from localhost.localdomain ([62.205.175.245]) (authenticated bits=0) by mail.asoft.ru (8.13.4/8.13.4) with ESMTP id n4NKZK4t015936 for ; Sun, 24 May 2009 00:35:22 +0400 From: Dmitry Artamonow To: openembedded-devel@openembedded.org Date: Sun, 24 May 2009 00:35:18 +0400 Message-Id: <1243110920-18111-5-git-send-email-mad_soft@inbox.ru> X-Mailer: git-send-email 1.6.0.6 In-Reply-To: <1243110920-18111-4-git-send-email-mad_soft@inbox.ru> References: <1243110920-18111-1-git-send-email-mad_soft@inbox.ru> <1243110920-18111-2-git-send-email-mad_soft@inbox.ru> <1243110920-18111-3-git-send-email-mad_soft@inbox.ru> <1243110920-18111-4-git-send-email-mad_soft@inbox.ru> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (mail.asoft.ru [0.0.0.0]); Sun, 24 May 2009 00:35:22 +0400 (MSD) Subject: [PATCH] libparserutils: add recipe for version 0.0.1 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2009 20:43:12 -0000 LibParserUtils is a library for building efficient parsers. Currently only Netsurf browser is using it (via hubbub), so we build just static library. Please note that this build doesn't use external iconv(), so only few built-in charsets are supported (UTF-8/16, windows-125x, iso-8859-*) We may revisit this later, if there's a need. Signed-off-by: Dmitry Artamonow --- recipes/netsurf/libparserutils_0.0.1.bb | 36 +++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 recipes/netsurf/libparserutils_0.0.1.bb diff --git a/recipes/netsurf/libparserutils_0.0.1.bb b/recipes/netsurf/libparserutils_0.0.1.bb new file mode 100644 index 0000000..5317364 --- /dev/null +++ b/recipes/netsurf/libparserutils_0.0.1.bb @@ -0,0 +1,36 @@ +DESCRIPTION = "LibParserUtils is a library for building efficient parsers" +HOMEPAGE = "http://www.netsurf-browser.org/projects/libparserutils/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "MIT" + +SRC_URI = "http://www.netsurf-browser.org/projects/releases/libparserutils-${PV}-src.tar.gz" + +inherit pkgconfig + +EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix} BUILDDIR=build-OE" + +# NOTE: we're using default buildmode here, which results in building only +# static libraries (.a) Not a problem as libparserutils is only used by Netsurf +# at the moment + +do_stage () { + oe_libinstall -a -C build-OE/ libparserutils ${STAGING_LIBDIR} + + install -d ${STAGING_INCDIR}/parserutils + install -d ${STAGING_INCDIR}/parserutils/charset + install -d ${STAGING_INCDIR}/parserutils/input + install -d ${STAGING_INCDIR}/parserutils/utils + install -m 0644 include/parserutils/*.h ${STAGING_INCDIR}/parserutils + install -m 0644 include/parserutils/charset/*.h \ + ${STAGING_INCDIR}/parserutils/charset + install -m 0644 include/parserutils/input/*.h \ + ${STAGING_INCDIR}/parserutils/input + install -m 0644 include/parserutils/utils/*.h \ + ${STAGING_INCDIR}/parserutils/utils +} + + +do_install() { + oe_runmake install +} -- 1.6.0.6