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