/[gentoo-x86]/net-misc/bk2site/bk2site-1.1.8-r1.ebuild
Gentoo

Diff of /net-misc/bk2site/bk2site-1.1.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.9 Revision 1.10
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/bk2site/Attic/bk2site-1.1.8-r1.ebuild,v 1.9 2003/02/13 14:45:58 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/bk2site/Attic/bk2site-1.1.8-r1.ebuild,v 1.10 2003/09/05 22:01:48 msterret Exp $
4 4
5S=${WORKDIR}/${P} 5S=${WORKDIR}/${P}
6 6
7DESCRIPTION="bk2site will transform your Netscape bookmarks file into a yahoo-like website with slashdot-like news." 7DESCRIPTION="bk2site will transform your Netscape bookmarks file into a yahoo-like website with slashdot-like news."
8SRC_URI="mirror://sourceforge/bk2site/${P}.tar.gz" 8SRC_URI="mirror://sourceforge/bk2site/${P}.tar.gz"
15#RDEPEND="" 15#RDEPEND=""
16 16
17 17
18src_unpack() { 18src_unpack() {
19 unpack $A 19 unpack $A
20 # Apply any patches available for this version 20 # Apply any patches available for this version
21 local patches=`echo ${FILESDIR}/${PV}.[0-9][0-9][0-9]` 21 local patches=`echo ${FILESDIR}/${PV}.[0-9][0-9][0-9]`
22 case "$patches" in 22 case "$patches" in
23 *\]) 23 *\])
24 ;; # globbing didn't work; no patches available 24 ;; # globbing didn't work; no patches available
25 *) 25 *)
26 cd $S 26 cd $S
27 for a in $patches; do 27 for a in $patches; do
28 patch -p0 < $a 28 patch -p0 < $a
29 done 29 done
30 ;; 30 ;;
31 esac 31 esac
32 patch -f -p0 < ${FILESDIR}/ebuild.patch 32 patch -f -p0 < ${FILESDIR}/ebuild.patch
33} 33}
34 34
35src_compile() { 35src_compile() {
36 ./configure \ 36 ./configure \
37 --host=${CHOST} \ 37 --host=${CHOST} \
44 44
45src_install () { 45src_install () {
46 make DESTDIR=${D} install || die 46 make DESTDIR=${D} install || die
47 insinto /etc/bk2site 47 insinto /etc/bk2site
48 doins indexbase.html newbase.html otherbase.html searchbase.html 48 doins indexbase.html newbase.html otherbase.html searchbase.html
49 dodoc bk2site.html *.gif 49 dodoc bk2site.html *.gif
50 dodoc README COPYING AUTHORS ChangeLog INSTALL NEWS TODO 50 dodoc README COPYING AUTHORS ChangeLog INSTALL NEWS TODO
51 exeinto /home/httpd/cgi-bin/bk2site 51 exeinto /home/httpd/cgi-bin/bk2site
52 doexe *.pl 52 doexe *.pl
53} 53}

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20