1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils toolchain-funcs
8 DESCRIPTION="automatic mail answering program"
9 HOMEPAGE="http://vacation.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/vacation/${P}.tar.gz"
12 KEYWORDS="alpha amd64 x86"
25 sed -i -e "s:install -s -m:install -m:" Makefile
26 sed -i -e "s:-Xlinker:${LDFLAGS} -Xlinker:" Makefile
30 emake CC=$(tc-getCC) ARCH=$(tc-arch-kernel) CFLAGS="${CFLAGS} -DMAIN" || die "emake failed."
35 dodir /usr/share/man/man1
36 emake BINDIR="${D}/usr/bin" MANDIR="${D}usr/share/man/man" install || die \