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/net-mail/vacation/vacation-1.2.7.0.ebuild

35 lines
682 B

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="automatic mail answering program"
HOMEPAGE="http://vacation.sourceforge.net/"
SRC_URI="mirror://sourceforge/vacation/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 x86"
SLOT="0"
RDEPEND="!mail-mta/sendmail
sys-libs/gdbm
virtual/mta"
DEPEND="${RDEPEND}"
src_prepare() {
default
sed -i -e "s:install -s -m:install -m:" \
-e "s:-Xlinker:${LDFLAGS} -Xlinker:" Makefile || die
}
src_compile() {
emake CFLAGS="${CFLAGS} -DMAIN"
}
src_install() {
emake BINDIR="${ED}/usr/bin" MANDIR="${ED}/usr/share/man/man" install
}