/[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.12 - (hide annotations) (download)
Thu Jul 1 20:46:31 2004 UTC (15 years, 7 months ago) by squinky86
Branch: MAIN
Changes since 1.11: +2 -1 lines
virtual/glibc -> virtual/libc, add IUSE

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

  ViewVC Help
Powered by ViewVC 1.1.20