]> code.ossystems Code Review - openembedded-core.git/commitdiff
libuser: add 0.56.16 as new recipe
authorZhai Edwin <edwin.zhai@intel.com>
Wed, 25 Aug 2010 08:05:35 +0000 (16:05 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 27 Aug 2010 12:04:38 +0000 (13:04 +0100)
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
meta-lsb/packages/libuser/libuser-0.56.16/disable-sgml-doc.patch [new file with mode: 0644]
meta-lsb/packages/libuser/libuser_0.56.16.bb [new file with mode: 0644]

diff --git a/meta-lsb/packages/libuser/libuser-0.56.16/disable-sgml-doc.patch b/meta-lsb/packages/libuser/libuser-0.56.16/disable-sgml-doc.patch
new file mode 100644 (file)
index 0000000..a2017c5
--- /dev/null
@@ -0,0 +1,18 @@
+Disable generating docs from sgml, which requries linuxdoc-tools.
+
+Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
+Index: libuser-0.56.16/docs/Makefile.am
+===================================================================
+--- libuser-0.56.16.orig/docs/Makefile.am      2010-08-12 13:29:43.000000000 +0800
++++ libuser-0.56.16/docs/Makefile.am   2010-08-12 13:29:51.000000000 +0800
+@@ -14,8 +14,8 @@
+ sgml/libuser.txt: $(srcdir)/sgml/libuser.sgml
+       [ -d sgml ] || mkdir sgml
+-      cd sgml; sgml2txt ../$(srcdir)/sgml/libuser.sgml
++#     cd sgml; sgml2txt ../$(srcdir)/sgml/libuser.sgml
+ sgml/libuser.html: $(srcdir)/sgml/libuser.sgml
+       [ -d sgml ] || mkdir sgml
+-      cd sgml; sgml2html ../$(srcdir)/sgml/libuser.sgml
++#     cd sgml; sgml2html ../$(srcdir)/sgml/libuser.sgml
diff --git a/meta-lsb/packages/libuser/libuser_0.56.16.bb b/meta-lsb/packages/libuser/libuser_0.56.16.bb
new file mode 100644 (file)
index 0000000..d72430e
--- /dev/null
@@ -0,0 +1,20 @@
+DESCRIPTION = "The libuser library implements a standardized interface for manipulating and administering user and group accounts"
+HOMEPAGE = "https://fedorahosted.org/libuser/"
+BUGTRACKER = "https://fedorahosted.org/libuser/newticket"
+
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
+                    file://lib/user.h;endline=19;md5=9bc141f2e0d3e8b97ecdc945b2ed1ec7 \
+                    file://samples/testuser.c;endline=19;md5=61e8c05bd37ce1cba5590071f6e17500"
+
+SECTION = "base"
+
+SRC_URI = "https://fedorahosted.org/releases/l/i/libuser/libuser-${PV}.tar.xz \
+           file://disable-sgml-doc.patch;patch=1"
+PR = "r0"
+
+DEPENDS = "gettext libpam glib-2.0 xz-native"
+
+EXTRA_OECONF += "--disable-gtk-doc --without-python"
+
+inherit autotools