blob: d7ba6e14b2590dcd15958304774639ddae3130ab [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Command-line programs to safely lock and unlock files and mailboxes"
2DESCRIPTION = "\
3lockfile-progs provide a method to lock and unlock mailboxes and files \
4safely (via liblockfile)."
5HOMEPAGE = "http://packages.qa.debian.org/l/lockfile-progs.html"
6SECTION = "Applications/System"
Andrew Geissler9aee5002022-03-30 16:27:02 +00007LICENSE = "GPL-2.0-only"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05008LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
9DEPENDS = "liblockfile"
10
Andrew Geissler8fc454f2020-12-11 16:27:59 -060011SRC_URI = "${DEBIAN_MIRROR}/main/l/${BPN}/${BPN}_${PV}.tar.gz"
William A. Kennington III49e95662021-09-15 16:19:36 -070012SRC_URI[sha256sum] = "2c5704b01c8f474f82921780e4592a927b2bf6a6d7616354a6c5d7cd5664857e"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050013
14do_compile() {
15 oe_runmake CFLAGS=' -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
16}
17
18do_install() {
19 install -m 755 -d ${D}${bindir}
20 install bin/* ${D}${bindir}
21 install -m 755 -d ${D}${mandir}/man1
22 install man/* ${D}${mandir}/man1
23}