You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
839 B
41 lines
839 B
9 months ago
|
# Copyright 1999-2023 Gentoo Authors
|
||
9 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
3 years ago
|
EAPI=7
|
||
9 years ago
|
|
||
3 years ago
|
inherit toolchain-funcs
|
||
9 years ago
|
|
||
|
DESCRIPTION="Provides lockspool utility"
|
||
|
HOMEPAGE="http://www.openbsd.org/"
|
||
|
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="BSD"
|
||
|
SLOT="0"
|
||
1 year ago
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||
9 years ago
|
|
||
3 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/${P}-respect-ldflags.patch
|
||
|
"${FILESDIR}"/${P}-add-sys_file_h.patch
|
||
|
)
|
||
9 years ago
|
|
||
9 months ago
|
RDEPEND="!mail-mta/opensmtpd"
|
||
|
|
||
9 years ago
|
src_prepare() {
|
||
3 years ago
|
default
|
||
9 years ago
|
|
||
|
# This code should only be ran with Gentoo Prefix profiles
|
||
|
if use prefix; then
|
||
|
ebegin "Allowing unprivileged install"
|
||
|
sed -i -e "s|-g 0 -o 0||g" Makefile
|
||
|
eend $?
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
5 years ago
|
emake CC="$(tc-getCC)" BINDNOW_FLAGS=""
|
||
9 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
8 years ago
|
emake prefix="${ED}/usr" install
|
||
9 years ago
|
}
|