1*4882a593SmuzhiyunSUMMARY = "Command-line programs to safely lock and unlock files and mailboxes"
2*4882a593SmuzhiyunDESCRIPTION = "\
3*4882a593Smuzhiyunlockfile-progs provide a method to lock and unlock mailboxes and files \
4*4882a593Smuzhiyunsafely (via liblockfile)."
5*4882a593SmuzhiyunHOMEPAGE = "http://packages.qa.debian.org/l/lockfile-progs.html"
6*4882a593SmuzhiyunSECTION = "Applications/System"
7*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
9*4882a593SmuzhiyunDEPENDS = "liblockfile"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunSRC_URI = "${DEBIAN_MIRROR}/main/l/${BPN}/${BPN}_${PV}.tar.gz"
12*4882a593SmuzhiyunSRC_URI[sha256sum] = "2c5704b01c8f474f82921780e4592a927b2bf6a6d7616354a6c5d7cd5664857e"
13*4882a593Smuzhiyun
14*4882a593Smuzhiyundo_compile() {
15*4882a593Smuzhiyun    oe_runmake CFLAGS=' -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
16*4882a593Smuzhiyun}
17*4882a593Smuzhiyun
18*4882a593Smuzhiyundo_install() {
19*4882a593Smuzhiyun    install -m 755 -d ${D}${bindir}
20*4882a593Smuzhiyun    install bin/* ${D}${bindir}
21*4882a593Smuzhiyun    install -m 755 -d ${D}${mandir}/man1
22*4882a593Smuzhiyun    install man/* ${D}${mandir}/man1
23*4882a593Smuzhiyun}
24