/[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.1 - (hide annotations) (download)
Sat Apr 6 07:28:16 2002 UTC (17 years, 10 months ago) by jnelson
Branch: MAIN
add -r1 which patches Makefile.in and Makefile.am to accept CXXFLAGS

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

  ViewVC Help
Powered by ViewVC 1.1.20