changeset: 2:02caac671462
user: "Doki Pen <doki_pen_AT_doki-pen.org>"
date: Wed Nov 04 14:31:25 2009 -0500
files: x11-terms/st/Manifest x11-terms/st/files/config.local.mk x11-terms/st/files/local-mk.patch x11-terms/st/st-9999.ebuild
description:
Added st ebuild. A little bit useless since config is done in config.h.
diff -r 3e0d83d25bf1 -r 02caac671462 x11-terms/st/Manifest
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11-terms/st/Manifest Wed Nov 04 14:31:25 2009 -0500
@@ -0,0 +1,3 @@
+AUX config.local.mk 171 RMD160 74f9fb98af7dc978c75f8f3780a5482f939946f6 SHA1 234eebf6afff1bbc6487c36bc34aaa42202911ca SHA256 6ecfea5302330e61be4a5e18c7bce4fe7f3e5ee2b1332ccc20c56d05b05e359d
+AUX local-mk.patch 273 RMD160 219f8323951b0d104ab72ae760bc02c3ba73854e SHA1 ca49eab1f44071890766374bf153f144a597f174 SHA256 b092a150e3623cafe4c104976649f6663b5ca40951546c63517fda7330783685
+EBUILD st-9999.ebuild 712 RMD160 e32be1ea7c9d67f9a084542e00a2a82eb01fbfaa SHA1 76d4dad731e2397bb3d38f2dacad9a1292d08000 SHA256 1eed412005ccede3b5a4a3291186f40e90de1b6aee9ada2678a08b50416ea5d1
diff -r 3e0d83d25bf1 -r 02caac671462 x11-terms/st/files/config.local.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11-terms/st/files/config.local.mk Wed Nov 04 14:31:25 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 3e0d83d25bf1 -r 02caac671462 x11-terms/st/files/local-mk.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11-terms/st/files/local-mk.patch Wed Nov 04 14:31:25 2009 -0500
@@ -0,0 +1,11 @@
+diff -r 52910cda2080 Makefile
+--- a/Makefile Wed Oct 28 14:34:22 2009 +0100
++++ b/Makefile Wed Nov 04 12:14:16 2009 -0500
+@@ -2,6 +2,7 @@
+ # See LICENSE file for copyright and license details.
+
+ include config.mk
++include config.local.mk
+
+ SRC = st.c
+ OBJ = ${SRC:.c=.o}
diff -r 3e0d83d25bf1 -r 02caac671462 x11-terms/st/st-9999.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11-terms/st/st-9999.ebuild Wed Nov 04 14:31:25 2009 -0500
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit mercurial
+
+DESCRIPTION="st is a simple terminal implementation for X."
+HOMEPAGE="http://st.suckless.org/"
+EHG_REPO_URI="http://hg.suckless.org/st"
+
+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 {LICENSE,README,TODO} || 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:23 UTC