Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "A privileged helper for utmp/wtmp updates" |
| 2 | DESCRIPTION = "\ |
| 3 | This library provides interface for terminal emulators such as \ |
| 4 | screen and xterm to record user sessions to utmp and wtmp files." |
| 5 | HOMEPAGE = "ftp://ftp.altlinux.org/pub/people/ldv/utempter" |
| 6 | SECTION = "System Environment/Libraries" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 7 | LICENSE = "GPL-2.0-only & GPL-2.0-or-later & LGPL-2.0-only & MIT" |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 9 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 10 | SRCREV = "63825e2244629d44dae21132b1065d7ecc0491c0" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 11 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 12 | SRC_URI = "git://git.altlinux.org/people/ldv/packages/libutempter.git;branch=master \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 13 | file://0001-Fix-macro-error.patch \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 14 | file://0002-Proper-macro-path-generation.patch \ |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 15 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 16 | |
| 17 | S = "${WORKDIR}/git/${BPN}" |
| 18 | |
| 19 | CFLAGS += "-DLIBEXECDIR=${libexecdir}" |
| 20 | |
| 21 | do_compile() { |
| 22 | oe_runmake \ |
| 23 | libdir=${libdir} \ |
| 24 | libexecdir=${libexecdir} |
| 25 | } |
| 26 | |
| 27 | do_install() { |
| 28 | oe_runmake install \ |
| 29 | DESTDIR=${D} \ |
| 30 | libdir="${libdir}" \ |
| 31 | libexecdir="${libexecdir}" \ |
| 32 | includedir=${includedir} \ |
| 33 | mandir=${mandir} |
| 34 | |
| 35 | rm -f ${D}${libdir}/*.a |
| 36 | } |
| 37 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 38 | FILES:${PN} = "${libdir}/*.so.*" |
| 39 | FILES:${PN} += "${libexecdir}/utempter/utempter" |
| 40 | FILES:${PN}-dbg += "${libexecdir}/utempter/.debug/utempter" |