blob: 3f059ede8f547f6bd021087ca0b311f30105d3d9 (
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 Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-unix/ucspi-unix-0.36.ebuild,v 1.7 2004/06/24 22:31:11 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 "gcc ${CFLAGS} -I/usr/lib/bglibs/include" > conf-cc
echo "gcc -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
}
|