summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/cvm/cvm-0.18.ebuild')
-rw-r--r--net-libs/cvm/cvm-0.18.ebuild27
1 files changed, 13 insertions, 14 deletions
diff --git a/net-libs/cvm/cvm-0.18.ebuild b/net-libs/cvm/cvm-0.18.ebuild
index 15ccb81ae862..76c12fbed94c 100644
--- a/net-libs/cvm/cvm-0.18.ebuild
+++ b/net-libs/cvm/cvm-0.18.ebuild
@@ -1,16 +1,18 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/cvm/cvm-0.18.ebuild,v 1.1 2004/01/06 00:07:56 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/cvm/cvm-0.18.ebuild,v 1.2 2004/06/19 05:44:38 vapier Exp $
-inherit fixheadtails
+inherit fixheadtails gcc
-S=${WORKDIR}/${P}
DESCRIPTION="CVM modules for unix and pwfile, plus testclient"
+HOMEPAGE="http://untroubled.org/cvm/"
SRC_URI="http://untroubled.org/cvm/${P}.tar.gz"
-HOMEPAGE="http://untroubled.org/cvm"
-SLOT="0"
+
LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="x86 ~sparc"
+IUSE=""
+
DEPEND="virtual/glibc
>=dev-libs/bglibs-1.009"
RDEPEND="virtual/glibc"
@@ -22,20 +24,19 @@ src_unpack() {
}
src_compile() {
- cd ${S}
echo "/usr/lib/bglibs/include" > conf-bgincs
echo "/usr/lib/bglibs/lib" > conf-bglibs
- echo "${CC} ${CFLAGS}" > conf-cc
- echo "${CC} -s" > conf-ld
+ echo "$(gcc-getCC) ${CFLAGS}" > conf-cc
+ echo "$(gcc-getCC) -s" > conf-ld
make || die
}
-src_install () {
- into /usr
- dobin cvm-benchclient cvm-checkpassword cvm-pwfile cvm-testclient cvm-unix
+src_install() {
+ dobin cvm-benchclient cvm-checkpassword cvm-pwfile cvm-testclient cvm-unix || die "dobin failed"
insinto /usr/include/cvm
doins *.h
+ dosym /usr/include/cvm/sasl.h /usr/include/cvm-sasl.h
newlib.a client.a libcvm-client.a
newlib.a udp.a libcvm-udp.a
@@ -44,8 +45,6 @@ src_install () {
newlib.a module.a libcvm-module.a
newlib.a sasl.a libcvm-sasl.a
- dosym /usr/include/cvm/sasl.h /usr/include/cvm-sasl.h
-
- dodoc ANNOUNCEMENT COPYING FILES NEWS README TARGETS TODO VERSION
+ dodoc ANNOUNCEMENT FILES NEWS README TARGETS TODO VERSION
dohtml *.html
}