blob: d973d6de20362280b8171b5436260b2ca55b1bbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Programs to safely lock/unlock files and mailboxes"
HOMEPAGE="https://packages.debian.org/sid/lockfile-progs"
SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~mips ~ppc ~s390 ~sparc ~x86"
DEPEND="net-libs/liblockfile"
RDEPEND="${DEPEND}"
src_install() {
# There's no install target in the Makefile, so copy what upstream do
# in debian/lockfile-progs.install
local file
for file in lockfile-{check,create,remove,touch} mail-{lock,touchlock,unlock} ; do
dobin bin/${file}
done
# ... and lockfile-progs.manpages
for file in lockfile-{check,create,progs,remove,touch}.1 mail-{lock,touchlock,unlock}.1 ; do
doman man/${file}
done
}
|