blob: a3c52ab9c8fc902a6ab018c5d795b77adc264c30 (
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
38
39
40
41
42
43
44
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/bglibs/bglibs-1.009-r1.ebuild,v 1.4 2004/01/07 22:16:45 robbat2 Exp $
inherit fixheadtails
S=${WORKDIR}/${P}
DESCRIPTION="Bruce Guenters Libraries Collection"
HOMEPAGE="http://untroubled.org/bglibs/"
SRC_URI="http://untroubled.org/bglibs/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc ~mips ~alpha ~ppc ~arm amd64 ~hppa"
DEPEND="virtual/glibc"
src_unpack() {
unpack ${A}
ht_fix_file ${S}/Makefile
# fix weird bug with new gcc and compile of tests failing due to style of
# gcc flags not on bugzilla, but personally reported to robbat2@gentoo.org
# by personal friend
sed -e 's|libraries selftests installer|libraries installer|g' -i ${S}/Makefile
}
src_compile() {
echo "${D}/usr/lib/bglibs" > conf-home
echo "${CC} ${CFLAGS}" > conf-cc
echo "${CC} ${LDFLAGS}" > conf-ld
# parallel builds fail badly
MAKEOPTS="`echo ${MAKEOPTS} | sed -re 's/-j[[:digit:]]+//g'`" \
emake || die
}
src_install () {
dodir /usr/lib/bglibs
./installer || die "install failed"
dodoc ANNOUNCEMENT COPYING NEWS README ChangeLog TODO VERSION
docinto html
dodoc doc/html/*
docinto latex
dodoc doc/latex/*
}
|