blob: 6db50573027d00da33b3ac8c5d23cbf1043104be (
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
30
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/dclibc/dclibc-0.1.1_beta1.ebuild,v 1.1 2006/06/19 06:49:43 squinky86 Exp $
inherit versionator
DESCRIPTION="library for creating a direct connect client"
HOMEPAGE="http://www.gtkdc.org/"
MY_PV=$(replace_version_separator 3 '-')
MY_PV=${MY_PV/beta/debug}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
SRC_URI="http://www.gtkdc.org/gtkdc_files/dclibc/0.1/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static"
DEPEND="virtual/libc"
src_compile() {
econf $(use_enable static) || die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR=${D} install || die
}
|