Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH] libutempter: Add new recipe
@ 2014-12-04  2:13 Qian Lei
  2015-01-07 11:53 ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Qian Lei @ 2014-12-04  2:13 UTC (permalink / raw)
  To: openembedded-devel

Libutempter provides interface for terminal emulators such as
screen and xterm to record user sessions to utmp and wtmp files.

Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
---
 .../libutempter/libutempter_1.1.6.bb               | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 meta-oe/recipes-support/libutempter/libutempter_1.1.6.bb

diff --git a/meta-oe/recipes-support/libutempter/libutempter_1.1.6.bb b/meta-oe/recipes-support/libutempter/libutempter_1.1.6.bb
new file mode 100644
index 0000000..e1dccd6
--- /dev/null
+++ b/meta-oe/recipes-support/libutempter/libutempter_1.1.6.bb
@@ -0,0 +1,36 @@
+SUMMARY = "A privileged helper for utmp/wtmp updates"
+DESCRIPTION = "\
+This library provides interface for terminal emulators such as \
+screen and xterm to record user sessions to utmp and wtmp files."
+HOMEPAGE = "ftp://ftp.altlinux.org/pub/people/ldv/utempter"
+SECTION = "System Environment/Libraries"
+LICENSE = "GPLv2 GPLv2+ LGPLv2 MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
+
+SRC_URI = "ftp://ftp.altlinux.org/pub/people/ldv/utempter/${BP}.tar.bz2"
+SRC_URI[md5sum] = "b43827806923903aba2bc7cd3a2d45b7"
+SRC_URI[sha256sum] = "b898565f31ced7e5c1fa0a2eaa0f6ff0ed862b5fe375d26375b64bfbdfeac397"
+
+CFLAGS += "-DLIBEXECDIR=$(libexecdir)"
+
+do_compile() {
+    oe_runmake                      \
+        libdir=${libdir}            \
+        libexecdir=${libexecdir}    \
+}
+
+do_install() {
+    oe_runmake install              \
+        DESTDIR=${D}                \
+        libdir="${libdir}"          \
+        libexecdir="${libexecdir}"  \
+        includedir=${includedir}    \
+        mandir=${mandir}
+
+        rm -f ${D}${libdir}/*.a
+}
+
+FILES_${PN} = "${libdir}/*.so.*"
+FILES_${PN} += "${libexecdir}/utempter/utempter"
+
+FILES_${PN}-dbg += "${libexecdir}/utempter/.debug/utempter"
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-09  3:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-04  2:13 [meta-oe][PATCH] libutempter: Add new recipe Qian Lei
2015-01-07 11:53 ` Martin Jansa
2015-01-08  9:25   ` [meta-oe][PATCH] libutempter: Fix compile error on arm Qian Lei
2015-01-08 11:17     ` Martin Jansa
2015-01-09  3:01       ` [meta-oe][PATCH v2] libutempter: Fix compile error Qian Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox