[hackers] [gentoo] Added wmi ebuild || "Doki Pen

From: <hg_AT_suckless.org>
Date: Wed, 4 Nov 2009 19:45:28 +0000 (UTC)

changeset: 4:ab0ed7a3ed09
tag: tip
user: "Doki Pen <doki_pen_AT_doki-pen.org>"
date: Wed Nov 04 14:45:20 2009 -0500
files: x11-wm/wmi/Manifest x11-wm/wmi/files/config.local.mk x11-wm/wmi/files/local-mk.patch x11-wm/wmi/wmi-9999.ebuild
description:
Added wmi ebuild

diff -r 5ee9ae7f1a49 -r ab0ed7a3ed09 x11-wm/wmi/Manifest
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11-wm/wmi/Manifest Wed Nov 04 14:45:20 2009 -0500
@@ -0,0 +1,3 @@
+AUX config.local.mk 171 RMD160 74f9fb98af7dc978c75f8f3780a5482f939946f6 SHA1 234eebf6afff1bbc6487c36bc34aaa42202911ca SHA256 6ecfea5302330e61be4a5e18c7bce4fe7f3e5ee2b1332ccc20c56d05b05e359d
+AUX local-mk.patch 281 RMD160 18ae841757ddf957466ffbded113b0d1e7901c22 SHA1 febf61784ff94af8322413b5135da73c67efe2f6 SHA256 9f5ee4c0524a05d1d967d8ed69d6a34b6210b51389dc82afcd5f99d2ad972933
+EBUILD wmi-9999.ebuild 777 RMD160 8318b4ccff9a5fe5b734eb6db51f9173e5466140 SHA1 ec081e5ba7e3372fd71247efd852a5345853b416 SHA256 75f569652ffdf915a851281c5210e96887638db08b40e540a583bca4efb28123
diff -r 5ee9ae7f1a49 -r ab0ed7a3ed09 x11-wm/wmi/files/config.local.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11-wm/wmi/files/config.local.mk Wed Nov 04 14:45:20 2009 -0500
@@ -0,0 +1,6 @@
+# Customize below to fit your system
+
+# Paths
+PREFIX = /usr
+# BIN = $(PREFIX)/bin MAN = $(PREFIX)/share/man ETC = /etc LIBDIR = $(PREFIX)/lib INCLUDE = $(PREFIX)/include
+
diff -r 5ee9ae7f1a49 -r ab0ed7a3ed09 x11-wm/wmi/files/local-mk.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11-wm/wmi/files/local-mk.patch Wed Nov 04 14:45:20 2009 -0500
@@ -0,0 +1,11 @@
+diff -r fc3dc1a3255d Makefile
+--- a/Makefile Thu Sep 10 19:00:09 2009 +0100
++++ b/Makefile Wed Nov 04 12:28:46 2009 -0500
+@@ -2,6 +2,7 @@
+ # See LICENSE file for copyright and license details.
+
+ include config.mk
++include config.local.mk
+
+ SRC_wmi = action.cpp \
+ actions.cpp \
diff -r 5ee9ae7f1a49 -r ab0ed7a3ed09 x11-wm/wmi/wmi-9999.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11-wm/wmi/wmi-9999.ebuild Wed Nov 04 14:45:20 2009 -0500
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit mercurial
+
+DESCRIPTION="wmi was the initial project which became popular, though wmii is
+the successor of wmi."
+HOMEPAGE="http://wmi.suckless.org/"
+EHG_REPO_URI="http://hg.suckless.org/wmi"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND="x11-libs/libX11"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ mercurial_src_unpack
+
+ cp "${FILESDIR}"/config.local.mk "${S}"
+}
+
+src_compile() {
+ epatch "${FILESDIR}/local-mk.patch"
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
+
+ if use doc ;
+ then
+ dodoc {AUTHORS,CONTRIB,ChangeLog,LICENSE,INSTALL} || die
+ fi
+}
+
Received on Wed Nov 04 2009 - 19:45:28 UTC

This archive was generated by hypermail 2.2.0 : Wed Nov 04 2009 - 19:48:24 UTC