/[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.9 - (hide annotations) (download)
Thu Feb 13 14:45:58 2003 UTC (17 years ago) by vapier
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.8: +2 -2 lines
Update Copyright years

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

  ViewVC Help
Powered by ViewVC 1.1.20