Cleanup and HOMEPAGE fix for #9933
authorMike Frysinger <vapier@gentoo.org>
Wed, 30 Oct 2002 01:49:19 +0000 (01:49 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 30 Oct 2002 01:49:19 +0000 (01:49 +0000)
net-misc/sitecopy/ChangeLog
net-misc/sitecopy/sitecopy-0.10.12-r1.ebuild

index 76b3ca1555baf9c916f70e21f776ecd2c63afaa7..39193d8f16be5c0f13fcc397fb708b9e14de20cb 100644 (file)
@@ -1,15 +1,15 @@
 # ChangeLog for net-misc/sitecopy
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/ChangeLog,v 1.3 2002/08/30 11:28:34 cybersystem Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/ChangeLog,v 1.4 2002/10/30 01:49:19 vapier Exp $
 
-*sitecopy-0.10.12-r1 (30 Aug 2002)
+*sitecopy-0.10.12-r1 (1 Feb 2002)
 
-  30 Aug 2002; Sascha Schwabbauer <cybersystem@gentoo.org> sitecopy-0.10.12-r1.ebuild :
+  29 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
+  Cleanup / HOMEPAGE fix (#9933)
 
+  30 Aug 2002; Sascha Schwabbauer <cybersystem@gentoo.org> sitecopy-0.10.12-r1.ebuild :
   Added ppc to keywords.
 
-*sitecopy-0.10.12-r1 (1 Feb 2002)
-
   09 Jul 2002; phoen][x <phoenix@gentoo.org> sitecopy-0.10.12-r1.ebuild :
   Added KEYWORDS, LICENSE, SLOT.
 
index a2d4e64e3054eb97e4a015afce4c7bd2d1123ac2..b0a264b61d76a208d8b9d87b0aec85bb10b10505 100644 (file)
@@ -1,13 +1,13 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/sitecopy-0.10.12-r1.ebuild,v 1.8 2002/10/05 05:39:23 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/sitecopy-0.10.12-r1.ebuild,v 1.9 2002/10/30 01:49:19 vapier Exp $
 
 IUSE="ssl"
 
 S=${WORKDIR}/${P}
 DESCRIPTION="sitecopy is for easily maintaining remote web sites"
 SRC_URI="http://www.lyra.org/sitecopy/${P}.tar.gz"
-HOMEPAGE="http://www.lyr.org/sitecopy/"
+HOMEPAGE="http://www.lyra.org/sitecopy/"
 KEYWORDS="x86 ppc sparc sparc64"
 LICENSE="GPL-2"
 SLOT="0"
@@ -18,22 +18,14 @@ DEPEND="virtual/glibc
         ssl? ( >=dev-libs/openssl-0.9.6 )"
 
 src_compile() {
-
-    local myconf
-    if [ "`use ssl`" ] ; then
-      myconf="--with-ssl=/usr"
-    else
-      myconf="--without-ssl"
-    fi
-    try ./configure --prefix=/usr --enable-libxml --host=${CHOST} $myconf
-    try make
-
+       local myconf="--enable-libxml"
+       use ssl \
+               && myconf="${myconf} --with-ssl=/usr" \
+               || myconf="${myconf} --without-ssl"
+       econf ${myconf}
+       emake || die "emake failed"
 }
 
-src_install () {
-
-    cd ${S}
-    try make prefix=${D}/usr install
-
+src_install() {
+       make prefix=${D}/usr install || die "install failed"
 }
-