libnfo: Add libnfo hg.
PATCH 1/1 libnfo: Add libnfo hg.
1. --enable-pic is needed for non-x86 architectures.
2. Put test programs in separate package ${PN}-bin. Manual pages are in ${PN}-doc though.
3. Build tested with GCC 4.4.3 and Binutils 2.20.1 for MACHINE = "beagleboard".
4. I did not use release 1.0.0 since configure in that version does not have the option --enable-pic.
Signed-off-by Paul Menzel <[email protected]>
---
I am not sure about setting the program version, since I do not know if the next release is 1.0.1 or 1.1.0. Could this please be fixed when this is committed.
--- recipes/libnfo/libnfo.inc | 26 ++++++++++++++++++++++++++ recipes/libnfo/libnfo_hg.bb | 9 +++++++++ 2 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 recipes/libnfo/libnfo.inc create mode 100644 recipes/libnfo/libnfo_hg.bb
recipes/libnfo/libnfo.inc new file +26 -0
@@ -0,0 +1,26 @@ +DESCRIPTION = "GeeXboX libNFO is a small library aiming at parsing and writing NFO files." +HOMEPAGE = "http://libnfo.geexbox.org/" +SECTION = "libs/multimedia" +LICENSE = "LGPLv2+" +DEPENDS = "libxml2" + +INC_PR = "r0" + +SRC_URI = "http://libplayer.geexbox.org/releases/${PN}.tar.bz2;name=${PN}" + +inherit autotools pkgconfig + +# the configure script is hand-crafted, it rejects some of the usual +# configure arguments +do_configure() { + ${S}/configure \ + --prefix=${prefix} \ + --disable-strip \ + --cross-compile \ + --enable-pic \ + --enable-doc +} + +PACKAGES =+ "${PN}-bin" + +FILES_${PN}-bin = "${bindir}/*"
recipes/libnfo/libnfo_hg.bb new file +9 -0
@@ -0,0 +1,9 @@ +require libnfo.inc +PV = "1.0.0+1.1.0" +PR = "${INC_PR}.0" + +SRCREV = "8f6237741f72" + +SRC_URI = "hg://hg.geexbox.org;module=${PN};rev=${SRCREV}" + +S = "${WORKDIR}/${PN}"
Signature · 1 line
1.7.0