/[gentoo-x86]/net-misc/bk2site/bk2site-1.1.8-r1.ebuild
Gentoo

Contents of /net-misc/bk2site/bk2site-1.1.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (hide annotations) (download)
Thu Jul 15 02:40:20 2004 UTC (15 years, 7 months ago) by agriffis
Branch: MAIN
Changes since 1.12: +1 -3 lines
don't assign S=${WORKDIR}/${P}

1 agriffis 1.11 # Copyright 1999-2004 Gentoo Foundation
2 vapier 1.7 # Distributed under the terms of the GNU General Public License v2
3 agriffis 1.13 # $Header: /var/cvsroot/gentoo-x86/net-misc/bk2site/bk2site-1.1.8-r1.ebuild,v 1.12 2004/07/01 20:46:31 squinky86 Exp $
4 jnelson 1.1
5 squinky86 1.12 IUSE=""
6 jnelson 1.1 DESCRIPTION="bk2site will transform your Netscape bookmarks file into a yahoo-like website with slashdot-like news."
7 drobbins 1.2 SRC_URI="mirror://sourceforge/bk2site/${P}.tar.gz"
8 jnelson 1.1 HOMEPAGE="http://bk2site.sourceforge.net/"
9 manson 1.8 KEYWORDS="x86 sparc "
10 phoenix 1.3 SLOT="0"
11     LICENSE="GPL-2"
12 jnelson 1.1
13     DEPEND=""
14     #RDEPEND=""
15    
16    
17     src_unpack() {
18     unpack $A
19 msterret 1.10 # Apply any patches available for this version
20     local patches=`echo ${FILESDIR}/${PV}.[0-9][0-9][0-9]`
21     case "$patches" in
22     *\])
23     ;; # globbing didn't work; no patches available
24     *)
25     cd $S
26     for a in $patches; do
27     patch -p0 < $a
28     done
29     ;;
30     esac
31     patch -f -p0 < ${FILESDIR}/ebuild.patch
32 jnelson 1.1 }
33    
34     src_compile() {
35     ./configure \
36     --host=${CHOST} \
37     --prefix=/usr \
38     --infodir=/usr/share/info \
39     --mandir=/usr/share/man || die "./configure failed"
40     emake || die
41     #make || die
42     }
43    
44     src_install () {
45     make DESTDIR=${D} install || die
46     insinto /etc/bk2site
47     doins indexbase.html newbase.html otherbase.html searchbase.html
48 msterret 1.10 dodoc bk2site.html *.gif
49 jnelson 1.1 dodoc README COPYING AUTHORS ChangeLog INSTALL NEWS TODO
50     exeinto /home/httpd/cgi-bin/bk2site
51     doexe *.pl
52     }

  ViewVC Help
Powered by ViewVC 1.1.20