summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-09-18 14:42:47 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-09-18 14:42:47 +0000
commitd8fb59482dfeb71ac6e0dd8dc8af6f810444d843 (patch)
tree87b86585b4daf7cd4b368edd92fb0c36f85e7e33 /sci-chemistry
parentremove old openvas-server ebuilds (diff)
downloadgentoo-2-d8fb59482dfeb71ac6e0dd8dc8af6f810444d843.tar.gz
gentoo-2-d8fb59482dfeb71ac6e0dd8dc8af6f810444d843.tar.bz2
gentoo-2-d8fb59482dfeb71ac6e0dd8dc8af6f810444d843.zip
Migrate to EAPI 2 in order to get rid of built_with_use.
(Portage version: 2.2_rc40/cvs/Linux i686)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/chemical-mime-data/ChangeLog8
-rw-r--r--sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild27
2 files changed, 13 insertions, 22 deletions
diff --git a/sci-chemistry/chemical-mime-data/ChangeLog b/sci-chemistry/chemical-mime-data/ChangeLog
index 53ae34b4e63f..c5729a0f5507 100644
--- a/sci-chemistry/chemical-mime-data/ChangeLog
+++ b/sci-chemistry/chemical-mime-data/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-chemistry/chemical-mime-data
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemical-mime-data/ChangeLog,v 1.3 2008/05/15 19:45:11 maekke Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemical-mime-data/ChangeLog,v 1.4 2009/09/18 14:42:47 betelgeuse Exp $
+
+ 18 Sep 2009; Petteri Räty <betelgeuse@gentoo.org>
+ chemical-mime-data-0.1.94.ebuild:
+ Migrate to EAPI 2 in order to get rid of built_with_use.
15 May 2008; Markus Meier <maekke@gentoo.org>
chemical-mime-data-0.1.94.ebuild:
diff --git a/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild
index 8a3cab5dc26b..9c5c04dc6ae9 100644
--- a/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild
+++ b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild,v 1.3 2008/05/15 19:45:11 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild,v 1.4 2009/09/18 14:42:47 betelgeuse Exp $
+
+EAPI="2"
inherit eutils fdo-mime
@@ -18,36 +20,21 @@ DEPEND="dev-util/pkgconfig
dev-util/intltool
dev-util/desktop-file-utils
dev-libs/libxslt
- media-gfx/imagemagick
+ media-gfx/imagemagick[xml]
gnome-base/gnome-mime-data"
RDEPEND=""
-pkg_setup() {
-
- if ! built_with_use 'media-gfx/imagemagick' xml; then
- eerror "media-gfx/imagemagick must be built with the xml USE-flag enabled"
- die "emerge media-gfx/imagemagick with the xml USE-flag enabled"
- fi
-
-}
-
-src_compile() {
-
+src_configure() {
econf --disable-update-database --htmldir=/usr/share/doc/${PN}/html
- emake || die "make failed"
}
src_install() {
-
- make DESTDIR="${D}" install
-
+ emake DESTDIR="${D}" install || die "emake install failed"
}
pkg_postinst() {
-
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
ewarn "You can ignore any 'Unknown media type in type' warnings."
-
}