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-dns/sheerdns/sheerdns-1.0.3.ebuild

33 lines
665 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit eutils toolchain-funcs multilib
DESCRIPTION="Sheerdns is a small, simple, fast master only DNS server"
HOMEPAGE="http://threading.2038bug.com/sheerdns/"
SRC_URI="http://threading.2038bug.com/sheerdns/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=""
S="${WORKDIR}/${PN}"
src_prepare() {
# Fix multilib support
sed -i "/^CFLAGS/s:usr/lib:usr/$(get_libdir):" Makefile
}
src_compile() {
emake CC=$(tc-getCC) || die
}
src_install() {
dodoc ChangeLog
doman sheerdns.8
dosbin sheerdns sheerdnshash
}