# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.6 2002/05/07 03:58:19 drobbins Exp S=${WORKDIR} DESCRIPTION="A great newsreader for alt.binaries.*" SRC_URI="http://www.co.jyu.fi/~ap/BNR2.gz http://www.co.jyu.fi/~ap/B2DBFix.gz http://member.newsguy.com/~paalto/BNR/libqtintf.so.gz http://member.newsguy.com/~paalto/BNR/libqt.so.2.gz" HOMEPAGE="http://www.co.jyu.fi/~ap/bnr.html" LICENSE="Freeware" 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 }