diff options
author | Mikael Hallendal <hallski@gentoo.org> | 2001-08-31 22:36:53 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@gentoo.org> | 2001-08-31 22:36:53 +0000 |
commit | 042ae96d784526b6b8a105567634937c5186a2f4 (patch) | |
tree | 303d14bc58e46632de659ddd76c9ceeca7be1d5c /gnome-base/oaf | |
parent | cleaned up (diff) | |
download | gentoo-2-042ae96d784526b6b8a105567634937c5186a2f4.tar.gz gentoo-2-042ae96d784526b6b8a105567634937c5186a2f4.tar.bz2 gentoo-2-042ae96d784526b6b8a105567634937c5186a2f4.zip |
cleanup
Diffstat (limited to 'gnome-base/oaf')
-rw-r--r-- | gnome-base/oaf/oaf-0.6.5.ebuild | 56 | ||||
-rw-r--r-- | gnome-base/oaf/oaf-0.6.6.ebuild | 55 |
2 files changed, 57 insertions, 54 deletions
diff --git a/gnome-base/oaf/oaf-0.6.5.ebuild b/gnome-base/oaf/oaf-0.6.5.ebuild index 34570f98e4d1..e9084013e8a2 100644 --- a/gnome-base/oaf/oaf-0.6.5.ebuild +++ b/gnome-base/oaf/oaf-0.6.5.ebuild @@ -1,54 +1,56 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/gnome-base/oaf/oaf-0.6.5.ebuild,v 1.7 2001/08/23 10:16:00 hallski Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/oaf/oaf-0.6.5.ebuild,v 1.8 2001/08/31 22:35:07 hallski Exp $ A=${P}.tar.gz S=${WORKDIR}/${P} DESCRIPTION="Object Activation Framework for GNOME" SRC_URI="ftp://ftp.gnome.org/pub/GNOME/unstable/sources/${PN}/${A}" -DEPEND="virtual/glibc >=sys-devel/perl-5 - >=dev-libs/popt-1.5 - >=gnome-base/gnome-env-1.0 - >=gnome-base/ORBit-0.5.8 - >=gnome-base/libxml-1.8.11 - nls? ( sys-devel/gettext )" - RDEPEND="virtual/glibc >=dev-libs/popt-1.5 >=gnome-base/gnome-env-1.0 >=gnome-base/ORBit-0.5.8 >=gnome-base/libxml-1.8.11" +DEPEND="${RDEPEND} + >=sys-devel/perl-5 + nls? ( sys-devel/gettext )" + + src_unpack() { - unpack ${A} - cd ${S} - cp -a configure configure.orig - sed -e "s:perl5\.00404:perl5.6.1:" configure.orig > configure + unpack ${A} + + cd ${S} + cp -a configure configure.orig + sed -e "s:perl5\.00404:perl5.6.1:" configure.orig > configure + rm configure.orig } src_compile() { - local myconf - if [ -z "`use nls`" ] - then - myconf="--disable-nls" - fi - try ./configure --host=${CHOST} --prefix=/opt/gnome --sysconfdir=/etc/opt/gnome --datadir=/opt/gnome/share ${myconf} - try pmake + local myconf + + if [ -z "`use nls`" ] + then + myconf="--disable-nls" + fi + + ./configure --host=${CHOST} --prefix=/opt/gnome \ + --sysconfdir=/etc/opt/gnome \ + --datadir=/opt/gnome/share \ + --mandir=/opt/gnome/man ${myconf} || die + + emake || die } src_install() { - - try make prefix=${D}/opt/gnome sysconfdir=${D}/etc/opt/gnome \ - datadir=${D}/opt/gnome/share install - dodoc AUTHORS COPYING* ChangeLog README - dodoc NEWS TODO + make DESTDIR=${D} install || die + + dodoc AUTHORS COPYING* ChangeLog README + dodoc NEWS TODO } pkg_postinst() { ldconfig -r ${ROOT} } - - - diff --git a/gnome-base/oaf/oaf-0.6.6.ebuild b/gnome-base/oaf/oaf-0.6.6.ebuild index 5d2034e177f1..f23fb0d21444 100644 --- a/gnome-base/oaf/oaf-0.6.6.ebuild +++ b/gnome-base/oaf/oaf-0.6.6.ebuild @@ -1,54 +1,55 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/gnome-base/oaf/oaf-0.6.6.ebuild,v 1.1 2001/08/23 10:03:13 hallski Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/oaf/oaf-0.6.6.ebuild,v 1.2 2001/08/31 22:35:07 hallski Exp $ A=${P}.tar.gz S=${WORKDIR}/${P} DESCRIPTION="Object Activation Framework for GNOME" SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${A}" -DEPEND="virtual/glibc >=sys-devel/perl-5 - >=dev-libs/popt-1.5 - >=gnome-base/gnome-env-1.0 - >=gnome-base/ORBit-0.5.8 - >=gnome-base/libxml-1.8.11 - nls? ( sys-devel/gettext )" - RDEPEND="virtual/glibc >=dev-libs/popt-1.5 >=gnome-base/gnome-env-1.0 >=gnome-base/ORBit-0.5.8 >=gnome-base/libxml-1.8.11" +DEPEND="${RDEPEND} + >=sys-devel/perl-5 + nls? ( sys-devel/gettext )" + src_unpack() { - unpack ${A} - cd ${S} - cp -a configure configure.orig - sed -e "s:perl5\.00404:perl5.6.1:" configure.orig > configure + unpack ${A} + + cd ${S} + cp -a configure configure.orig + sed -e "s:perl5\.00404:perl5.6.1:" configure.orig > configure + rm configure.orig } src_compile() { - local myconf - if [ -z "`use nls`" ] - then - myconf="--disable-nls" - fi - try ./configure --host=${CHOST} --prefix=/opt/gnome --sysconfdir=/etc/opt/gnome --datadir=/opt/gnome/share ${myconf} - try pmake + local myconf + + if [ -z "`use nls`" ] + then + myconf="--disable-nls" + fi + + ./configure --host=${CHOST} --prefix=/opt/gnome \ + --sysconfdir=/etc/opt/gnome \ + --datadir=/opt/gnome/share \ + --mandir=/opt/gnome/man ${myconf} || die + + emake || die } src_install() { - - try make prefix=${D}/opt/gnome sysconfdir=${D}/etc/opt/gnome \ - datadir=${D}/opt/gnome/share install - dodoc AUTHORS COPYING* ChangeLog README - dodoc NEWS TODO + make DESTDIR=${D} install || die + + dodoc AUTHORS COPYING* ChangeLog README + dodoc NEWS TODO } pkg_postinst() { ldconfig -r ${ROOT} } - - - |