blob: ba39cf9542e82f51be12c774ac0696812b2a64bd (
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
45
46
47
48
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-news/bnr2/bnr2-0.7.3.ebuild,v 1.3 2003/02/13 15:15:03 vapier Exp $
IUSE=""
S=${WORKDIR}
DESCRIPTION="A great newsreader for alt.binaries.*"
SRC_URI="http://www.bnr2.org/BNR2.gz
http://www.bnr2.org/B2DBFix.gz
http://www.bnr2.org/libqtintf.so.gz
http://www.bnr2.org/libqt.so.2.gz"
HOMEPAGE="http://www.bnr2.org"
DEPEND="virtual/glibc"
RDEPEND="virtual/x11"
SLOT="0"
KEYWORDS="~x86"
LICENSE="freedist"
src_unpack() {
cd ${WORKDIR}
for f in ${A}; do
cp ${DISTDIR}/$f .
gunzip $f
done
}
src_compile() {
( echo '#!/bin/sh'
echo 'export LD_LIBRARY_PATH=/opt/bnr2/lib:$LD_LIBRARY_PATH'
echo '/opt/bnr2/bin/BNR2'
) >bnr2
( echo '#!/bin/sh'
echo 'export LD_LIBRARY_PATH=/opt/bnr2/lib:$LD_LIBRARY_PATH'
echo '/opt/bnr2/bin/B2DBFix'
) >bnr2-dbfix
chmod 755 BNR2 B2DBFix bnr2 bnr2-dbfix
}
src_install () {
into /opt/bnr2
dobin BNR2 B2DBFix
dolib.so libqtintf.so libqt.so.2
into /usr
dobin bnr2 bnr2-dbfix
}
|