diff options
author | Armin Kuster <akuster808@gmail.com> | 2015-04-05 08:40:01 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-11 10:57:13 +0200 |
commit | bd07693089fb3527d92f645e12c9e10ba19debf5 (patch) | |
tree | d0eac1dec4cf26c0f19a83da76d804ba5bd19f1a /meta-oe/recipes-support/libutempter/libutempter.bb | |
parent | c16d492ee255f3dfab3baa979da703467d105525 (diff) | |
download | meta-openembedded-contrib-bd07693089fb3527d92f645e12c9e10ba19debf5.tar.gz |
libutempter: update SRC_URI
altlinux.org link is dead, update to new git repo
WARNING: Failed to fetch URL ftp://ftp.altlinux.org/pub/people/ldv/utempter/libutempter-1.1.6.tar.bz2, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 4, no output
ERROR: Function failed: Fetcher failure for URL: 'ftp://ftp.altlinux.org/pub/people/ldv/utempter/libutempter-1.1.6.tar.bz2'. Unable to fetch URL from any source.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libutempter/libutempter.bb')
-rw-r--r-- | meta-oe/recipes-support/libutempter/libutempter.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libutempter/libutempter.bb b/meta-oe/recipes-support/libutempter/libutempter.bb new file mode 100644 index 0000000000..0282ba5005 --- /dev/null +++ b/meta-oe/recipes-support/libutempter/libutempter.bb @@ -0,0 +1,39 @@ +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" + +SRCREV = "3ef74fff310f09e2601e241b9f042cd39d591018" +PV = "1.1.6-alt2+git${SRCPV}" + +SRC_URI = "git://git.altlinux.org/people/ldv/packages/libutempter.git \ + file://0001-Fix-macro-error.patch" + +S = "${WORKDIR}/git/${BPN}" + +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" |