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.
gentoo-overlay/mail-filter/postsrsd/postsrsd-1.10.ebuild

36 lines
754 B

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
HOMEPAGE="https://github.com/roehling/postsrsd"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
BDEPEND=">=dev-util/cmake-2.4"
RDEPEND=""
CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
src_configure() {
local mycmakeargs=(
-DCHROOT_DIR=${CHROOT_DIR}
-DDOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
)
cmake_src_configure
}
src_install() {
cmake_src_install
newinitd "${FILESDIR}/postsrsd.init-r1" postsrsd
newconfd "${BUILD_DIR}/postsrsd.default" postsrsd
keepdir ${CHROOT_DIR}
}