/[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 - (show 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 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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
5 S=${WORKDIR}/${P}
6
7 IUSE=""
8 DESCRIPTION="bk2site will transform your Netscape bookmarks file into a yahoo-like website with slashdot-like news."
9 SRC_URI="mirror://sourceforge/bk2site/${P}.tar.gz"
10 HOMEPAGE="http://bk2site.sourceforge.net/"
11 KEYWORDS="x86 sparc "
12 SLOT="0"
13 LICENSE="GPL-2"
14
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