diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-04-16 02:15:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-04-16 02:15:37 +0000 |
commit | 71c9179f298dbb09416fca1344f765da883796cb (patch) | |
tree | 91eddcd87de2a69dbd1220e9d7690f68d9d9be55 | |
parent | kde-base -> kde (Manifest recommit) (diff) | |
download | gentoo-2-71c9179f298dbb09416fca1344f765da883796cb.tar.gz gentoo-2-71c9179f298dbb09416fca1344f765da883796cb.tar.bz2 gentoo-2-71c9179f298dbb09416fca1344f765da883796cb.zip |
add inherit eutils
-rw-r--r-- | app-i18n/uim-svn/uim-svn-20040124.ebuild | 21 | ||||
-rw-r--r-- | app-text/cstetex/cstetex-2.0.2.ebuild | 4 | ||||
-rw-r--r-- | dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild | 12 |
3 files changed, 16 insertions, 21 deletions
diff --git a/app-i18n/uim-svn/uim-svn-20040124.ebuild b/app-i18n/uim-svn/uim-svn-20040124.ebuild index 9bf6dc3c6606..3789f61fc77a 100644 --- a/app-i18n/uim-svn/uim-svn-20040124.ebuild +++ b/app-i18n/uim-svn/uim-svn-20040124.ebuild @@ -1,10 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/uim-svn-20040124.ebuild,v 1.6 2004/04/07 11:52:39 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/uim-svn-20040124.ebuild,v 1.7 2004/04/16 02:14:14 vapier Exp $ -inherit subversion flag-o-matic - -IUSE="gtk nls debug" +inherit subversion flag-o-matic eutils ESVN_REPO_URI="http://freedesktop.org:8080/svn/uim/trunk" ESVN_BOOTSTRAP="autogen.sh" @@ -15,19 +13,19 @@ HOMEPAGE="http://anthy.sourceforge.jp/" SRC_URI="" LICENSE="GPL-2 | BSD" -KEYWORDS="~x86" SLOT="0" +KEYWORDS="~x86" +IUSE="gtk nls debug" +RDEPEND="gtk? ( >=x11-libs/gtk+-2 ) + !app-i18n/uim" DEPEND="${RDEPEND} dev-lang/perl dev-perl/XML-Parser >=sys-apps/sed-4 nls? ( sys-devel/gettext )" -RDEPEND="gtk? ( >=x11-libs/gtk+-2 ) - !app-i18n/uim" src_compile() { - if use gtk; then sed -i -e "s:@GTK2_TRUE@::g" -e "s:@GTK2_FALSE@:#:g" \ Makefile.in `echo */Makefile.in` @@ -40,19 +38,15 @@ src_compile() { use debug && append-flags -g econf `use_enable nls` || die emake || die - } src_install() { - make DESTDIR=${D} install || die dodoc [A-Z][A-Z]* ChangeLog* doc/[A-Z0-9][A-Z0-9]* - } pkg_postinst() { - use gtk && gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules einfo @@ -60,11 +54,8 @@ pkg_postinst() { einfo "To use uim-skk you should emerge app-i18n/skk-jisyo." einfo "To use uim-prime you should emerge app-i18n/prime." einfo - } pkg_postrm() { - use gtk && gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules - } diff --git a/app-text/cstetex/cstetex-2.0.2.ebuild b/app-text/cstetex/cstetex-2.0.2.ebuild index 30a66cc123bb..43e265380e07 100644 --- a/app-text/cstetex/cstetex-2.0.2.ebuild +++ b/app-text/cstetex/cstetex-2.0.2.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/cstetex/cstetex-2.0.2.ebuild,v 1.3 2004/04/07 21:40:38 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/cstetex/cstetex-2.0.2.ebuild,v 1.4 2004/04/16 02:14:41 vapier Exp $ -inherit tetex +inherit tetex eutils DESCRIPTION="a complete TeX distribution with Czech and Slovak support" HOMEPAGE="http://math.feld.cvut.cz/olsak/cstex/" diff --git a/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild b/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild index ec7bab4d289d..5bc174683474 100644 --- a/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild +++ b/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild @@ -1,18 +1,23 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild,v 1.1 2004/02/24 04:04:37 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild,v 1.2 2004/04/16 02:15:37 vapier Exp $ + +inherit eutils MY_PN="super-smack" MY_P="${MY_PN}-${PV}" DESCRIPTION="MySQL Super Smack is a benchmarking, stress testing, and load generation tool for MySQL & PostGreSQL" HOMEPAGE="http://jeremy.zawodny.com/mysql/${MY_PN}/" -SRC_URI="${HOMEPAGE}/${MY_P}.tar.gz" +SRC_URI="http://jeremy.zawodny.com/mysql/${MY_PN}/${MY_P}.tar.gz" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="mysql postgres" + DEPEND="mysql? ( dev-db/mysql ) - postgres? ( dev-db/postgresql )" + postgres? ( dev-db/postgresql )" + S=${WORKDIR}/${MY_P} src_unpack() { @@ -28,7 +33,6 @@ src_compile() { use postgres && myconf="${myconf} --with-pgsql" myconf="${myconf} --with-datadir=/var/tmp/${MY_PN}" myconf="${myconf} --with-smacks-dir=/usr/share/${MY_PN}" - echo $myconf econf ${myconf} || die emake || die } |