diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2003-10-19 16:12:54 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2003-10-19 16:12:54 +0000 |
commit | 64fecc488870f2b636dddf9e9c296802d7401bef (patch) | |
tree | 8dd8c1e3c408a7ce44830e56a74db5c20e967556 /net-misc/sitecopy | |
parent | Added ruby_econf and ruby_emake functions (diff) | |
download | gentoo-2-64fecc488870f2b636dddf9e9c296802d7401bef.tar.gz gentoo-2-64fecc488870f2b636dddf9e9c296802d7401bef.tar.bz2 gentoo-2-64fecc488870f2b636dddf9e9c296802d7401bef.zip |
fix
Diffstat (limited to 'net-misc/sitecopy')
-rw-r--r-- | net-misc/sitecopy/Manifest | 2 | ||||
-rw-r--r-- | net-misc/sitecopy/sitecopy-0.13.4-r1.ebuild | 32 |
2 files changed, 20 insertions, 14 deletions
diff --git a/net-misc/sitecopy/Manifest b/net-misc/sitecopy/Manifest index feec6dc64a9d..5a012cd7ae70 100644 --- a/net-misc/sitecopy/Manifest +++ b/net-misc/sitecopy/Manifest @@ -1,7 +1,7 @@ MD5 94c1f291e7bccf04562cd68ab24a72bd sitecopy-0.10.12-r1.ebuild 991 MD5 15e6d0440ea28b858bcde854207909f0 sitecopy-0.12.1.ebuild 1144 MD5 0839b5699749c70d54c4588cfd007f14 sitecopy-0.13.4.ebuild 1140 -MD5 2aae25f9bd443115d59e338a2d588ddd sitecopy-0.13.4-r1.ebuild 1958 +MD5 bbbcb75025d74183fb98e052f3d5a743 sitecopy-0.13.4-r1.ebuild 1805 MD5 b6f96d5303fc796895f8ebdcdc92e3af ChangeLog 1974 MD5 2181dd9a02cbcac0257406ff7a30a37b files/digest-sitecopy-0.13.4-r1 67 MD5 09b3e7444248285b787fa3635d41aedc files/digest-sitecopy-0.10.12-r1 68 diff --git a/net-misc/sitecopy/sitecopy-0.13.4-r1.ebuild b/net-misc/sitecopy/sitecopy-0.13.4-r1.ebuild index f0947883d664..a1e3c75b3b88 100644 --- a/net-misc/sitecopy/sitecopy-0.13.4-r1.ebuild +++ b/net-misc/sitecopy/sitecopy-0.13.4-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/sitecopy-0.13.4-r1.ebuild,v 1.2 2003/10/19 15:56:14 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/sitecopy-0.13.4-r1.ebuild,v 1.3 2003/10/19 16:12:49 lanius Exp $ IUSE="ssl xml xml2 gnome" @@ -40,23 +40,29 @@ src_compile() { use nls \ && myconf="${myconf} --enable-nls" \ || myconf="${myconf} --disable-nls" - use gnome \ - && myconf="${myconf} --with-gnomefe" econf ${myconf} - # gnome compile fix - sed -i -e "s:VERSION:PACKAGE_VERSION:" gnome/init.c - sed -i -e "s:VERSION:PACKAGE_VERSION:" gnome/main.c - echo "int fe_accept_cert(const ne_ssl_certificate *cert, int failures) { return 0; }" >> gnome/gcommon.c - sed -i -e "s:-lglib:-lglib -lgthread:" Makefile - sed -i -e "s:TARGET = xsitecopy:TARGET = xsitecopy sitecopy:" Makefile - sed -i -e 's:$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(bindir)/$(TARGET):$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(bindir)/:' Makefile - sed -i -e 's:install\: $(TARGET) install-xsitecopy:install\: $(TARGET) install-xsitecopy install-sitecopy:' Makefile - emake || die "emake failed" + + if [ "`use gnome`" ]; then + econf ${myconf} --with-gnomefe + + # gnome compile fix + sed -i -e "s:VERSION:PACKAGE_VERSION:" gnome/init.c + sed -i -e "s:VERSION:PACKAGE_VERSION:" gnome/main.c + echo "int fe_accept_cert(const ne_ssl_certificate *cert, int failures) { return 0; }" >> gnome/gcommon.c + sed -i -e "s:-lglib:-lglib -lgthread:" Makefile + + emake || die "emake failed" + fi } src_install() { - make DESTDIR=${D} install || die "install failed" + make DESTDIR=${D} install-sitecopy || die "install failed" + + if [ "`use gnome`" ]; then + make DESTDIR=${D} install-xsitecopy || die "install failed" + dobin sitecopy + fi } |