/[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.3 - (hide annotations) (download)
Sat Jul 6 07:54:29 2002 UTC (17 years, 7 months ago) by phoenix
Branch: MAIN
Changes since 1.2: +4 -1 lines
repoman QA issues

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 phoenix 1.3 # $Header:
5 jnelson 1.1
6     S=${WORKDIR}/${P}
7    
8     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 phoenix 1.3 KEYWORDS="x86"
12     SLOT="0"
13     LICENSE="GPL-2"
14 jnelson 1.1
15     DEPEND=""
16     #RDEPEND=""
17    
18    
19     src_unpack() {
20     unpack $A
21     # 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     }
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     dodoc bk2site.html *.gif
51     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