blob: 12ba78af8fedebf1abad4ce22408d6c31f6e1a8f (
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
31
32
33
34
35
36
37
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-unix/ucspi-unix-0.36-r1.ebuild,v 1.2 2004/04/27 21:34:49 agriffis Exp $
inherit eutils
S=${WORKDIR}/${P}
DESCRIPTION="A ucspi implementation for unix sockets."
SRC_URI="http://untroubled.org/ucspi-unix/${P}.tar.gz"
DEPEND=">=dev-libs/bglibs-1.009-r1"
HOMEPAGE="http://untroubled.org/ucspi-unix/"
KEYWORDS="x86 amd64 ~sparc"
SLOT="0"
LICENSE="GPL-2"
src_unpack() {
unpack ${A}
# Fix for head syntax in Makefile
cd ${S}
epatch ${FILESDIR}/${PN}-gentoo-head.patch
}
src_compile() {
echo "${CC} ${CFLAGS} -I/usr/lib/bglibs/include" > conf-cc
echo "${CC} -s -L/usr/lib/bglibs/lib" > conf-ld
make || die #don't use emake b/c of jobserver
}
src_install () {
exeinto /usr/bin
doexe unixserver unixclient unixcat
doman unixserver.1 unixclient.1
dodoc ANNOUNCEMENT ChangeLog NEWS PROTOCOL README TODO
}
|