summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-08-17 19:29:12 +0000
committerAlin Năstac <mrness@gentoo.org>2007-08-17 19:29:12 +0000
commite02f99a257f42dbec4b3406e3c559b58d617cc7d (patch)
tree8fc0114ac01a6c37a8c7080da5caa973512681c1 /dev-util/dialogblocks/dialogblocks-4.14.ebuild
parentRemove old versions (diff)
downloadgentoo-2-e02f99a257f42dbec4b3406e3c559b58d617cc7d.tar.gz
gentoo-2-e02f99a257f42dbec4b3406e3c559b58d617cc7d.tar.bz2
gentoo-2-e02f99a257f42dbec4b3406e3c559b58d617cc7d.zip
Version bump. Remove obsolete versions.
(Portage version: 2.1.2.11)
Diffstat (limited to 'dev-util/dialogblocks/dialogblocks-4.14.ebuild')
-rw-r--r--dev-util/dialogblocks/dialogblocks-4.14.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/dialogblocks/dialogblocks-4.14.ebuild b/dev-util/dialogblocks/dialogblocks-4.14.ebuild
new file mode 100644
index 000000000000..55e11915b0f2
--- /dev/null
+++ b/dev-util/dialogblocks/dialogblocks-4.14.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/dialogblocks/dialogblocks-4.14.ebuild,v 1.1 2007/08/17 19:29:12 mrness Exp $
+
+inherit eutils
+
+DESCRIPTION="GUI builder tool for wxWidgets"
+HOMEPAGE="http://www.anthemion.co.uk/dialogblocks/"
+SRC_URI="http://www.anthemion.co.uk/${PN}/DialogBlocks-${PV}-i386-gtk2-unicode.tar.gz"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2
+ >=media-libs/libpng-1.2
+ media-libs/jpeg
+ >=media-libs/tiff-3
+ amd64? ( app-emulation/emul-linux-x86-gtklibs )"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ if use x86 && ! built_with_use ">=x11-libs/gtk+-2" xinerama ; then
+ echo
+ eerror "In order to emerge this package, you need to re-emerge"
+ eerror "x11-libs/gtk+ with xinerama USE flag enabled."
+ echo
+ die "please re-emerge gtk+ witk USE=xinerama"
+ fi
+}
+
+src_install() {
+ dodir /opt/dialogblocks
+ tar -xzf DialogBlocksData.tar.gz -C "${D}/opt/dialogblocks" || die "failed to extract data from tarball"
+ fowners -R root:root /opt/dialogblocks
+
+ dosym /opt/dialogblocks/dialogblocks32x32.xpm /usr/share/pixmaps/dialogblocks.xpm
+ insinto /usr/share/applications
+ doins "${FILESDIR}/dialogblocks.desktop"
+ newbin "${FILESDIR}/dialogblocks.sh" dialogblocks
+}
+
+pkg_postinst() {
+ # Fix incorrect owner of the directories, created by previous versions
+ chown -R root:root "${ROOT}"/opt/dialogblocks
+}