summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2011-06-11 11:52:47 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2011-06-11 11:52:47 +0000
commit78da163e91c1e2cf9256cfd0ab069f57ba755c60 (patch)
treec79ff289a9e730f5e68b8b2bb4ce6406324c9480 /x11-wm/amiwm/amiwm-0.21_p2.ebuild
parentWhitespace fixes. Depend only on swig-2.0 as it is only we mostly checked. pu... (diff)
downloadgentoo-2-78da163e91c1e2cf9256cfd0ab069f57ba755c60.tar.gz
gentoo-2-78da163e91c1e2cf9256cfd0ab069f57ba755c60.tar.bz2
gentoo-2-78da163e91c1e2cf9256cfd0ab069f57ba755c60.zip
Version bump wrt #354575 by Tomáš Hlušička <tomas.hlusicka@seznam.cz>
(Portage version: 2.2.0_alpha36/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm/amiwm/amiwm-0.21_p2.ebuild')
-rw-r--r--x11-wm/amiwm/amiwm-0.21_p2.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/x11-wm/amiwm/amiwm-0.21_p2.ebuild b/x11-wm/amiwm/amiwm-0.21_p2.ebuild
new file mode 100644
index 000000000000..1e09968bb6d5
--- /dev/null
+++ b/x11-wm/amiwm/amiwm-0.21_p2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/amiwm/amiwm-0.21_p2.ebuild,v 1.1 2011/06/11 11:52:47 xarthisius Exp $
+
+EAPI=4
+
+inherit eutils multilib toolchain-funcs
+
+MY_P=${PN}${PV/_p/pl}
+DESCRIPTION="Windowmanager ala Amiga(R) Workbench(R)"
+HOMEPAGE="http://www.lysator.liu.se/~marcus/amiwm.html"
+SRC_URI="ftp://ftp.lysator.liu.se/pub/X11/wm/${PN}/${MY_P}.tar.gz"
+
+LICENSE="amiwm"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+COMMON_DEPEND="x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXext"
+
+RDEPEND="${COMMON_DEPEND}
+ media-gfx/xloadimage
+ x11-apps/xrdb
+ x11-apps/xsetroot
+ x11-terms/xterm"
+DEPEND="${COMMON_DEPEND}
+ x11-proto/xproto
+ x11-proto/xextproto"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.diff \
+ "${FILESDIR}"/${P}-implicts.patch
+ sed -i -e "s:\$(exec_prefix)/lib:\$(exec_prefix)/$(get_libdir):" \
+ Makefile.in || die
+ sed -i -e "s:/bin/ksh:/bin/sh:g" Xsession{,2}.in || die
+
+ cat <<- EOF > "${T}"/amiwm
+ #!/bin/sh
+ exec /usr/bin/amiwm
+ EOF
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc README*
+
+ exeinto /etc/X11/Sessions
+ doexe "${T}"/amiwm
+}