/[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.8 - (hide annotations) (download)
Mon Dec 9 04:33:15 2002 UTC (17 years, 2 months ago) by manson
Branch: MAIN
CVS Tags: GENTOO_1_4_SNAP_2003010800
Changes since 1.7: +2 -2 lines
12-08-02 Keyword change remove sparc64 Rodney Rees manson@gentoo.org

1 jnelson 1.1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 vapier 1.7 # Distributed under the terms of the GNU General Public License v2
3 manson 1.8 # $Header: /home/cvsroot/gentoo-x86/net-misc/bk2site/bk2site-1.1.8-r1.ebuild,v 1.7 2002/10/04 06:10:24 vapier 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