blob: 4c69ce5a3a8cefef3be43645efb93a2ee00bb20f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-dns-keygen/bind-dns-keygen-9.3.2.39-r1.ebuild,v 1.1 2010/06/16 10:24:14 hwoarang Exp $
inherit rpm toolchain-funcs
# Tag for which Fedora Core version it's from
FCVER="6"
MY_PV="${PV%.*}-${PV##*.}"
MY_P="${PN%%-*}-${MY_PV}"
DESCRIPTION="A simple BIND key generator"
HOMEPAGE="http://fedora.redhat.com/projects/config-tools/"
SRC_URI="mirror://fedora/development/source/SRPMS/${MY_P}.fc${FCVER}.src.rpm"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
S="${WORKDIR}"
src_compile() {
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN#*-} ${PN##*-}.c || die "compile failed"
}
src_install() {
dosbin ${PN#*-} || die "dosbin failed"
}
|