summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-11-07 05:43:48 +0000
committerJeroen Roovers <jer@gentoo.org>2012-11-07 05:43:48 +0000
commit1aac06c00e03075c0c45da8d01846e73efebf5e2 (patch)
treef77ca4a6a2381b3342f0512beedb9f3814064f8d
parentStable for HPPA (bug #441044). (diff)
downloadgentoo-2-1aac06c00e03075c0c45da8d01846e73efebf5e2.tar.gz
gentoo-2-1aac06c00e03075c0c45da8d01846e73efebf5e2.tar.bz2
gentoo-2-1aac06c00e03075c0c45da8d01846e73efebf5e2.zip
Version bump.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key A792A613)
-rw-r--r--x11-terms/st/ChangeLog7
-rw-r--r--x11-terms/st/st-0.3.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/x11-terms/st/ChangeLog b/x11-terms/st/ChangeLog
index 8e8f34509c23..ecbe4ce80e74 100644
--- a/x11-terms/st/ChangeLog
+++ b/x11-terms/st/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-terms/st
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/st/ChangeLog,v 1.5 2012/03/07 18:17:30 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/st/ChangeLog,v 1.6 2012/11/07 05:43:48 jer Exp $
+
+*st-0.3 (07 Nov 2012)
+
+ 07 Nov 2012; Jeroen Roovers <jer@gentoo.org> +st-0.3.ebuild:
+ Version bump.
07 Mar 2012; Jeroen Roovers <jer@gentoo.org> st-0.1.1.ebuild,
st-0.2.1.ebuild, st-9999.ebuild:
diff --git a/x11-terms/st/st-0.3.ebuild b/x11-terms/st/st-0.3.ebuild
new file mode 100644
index 000000000000..d82b508e75e0
--- /dev/null
+++ b/x11-terms/st/st-0.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/st/st-0.3.ebuild,v 1.1 2012/11/07 05:43:48 jer Exp $
+
+EAPI=4
+
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="simple terminal implementation for X"
+HOMEPAGE="http://st.suckless.org/"
+SRC_URI="http://hg.suckless.org/st/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+ sys-libs/ncurses"
+
+src_prepare() {
+ sed -e '/^CFLAGS/s:[[:space:]]-Wall[[:space:]]: :' \
+ -e '/^CFLAGS/s:[[:space:]]-O[^[:space:]]*[[:space:]]: :' \
+ -e '/^LDFLAGS/{s:[[:space:]]-s[[:space:]]: :}' \
+ -i config.mk || die
+ tc-export CC
+
+ restore_config config.h
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install || die
+ tic -s -o "${ED}"/usr/share/terminfo st.info || die
+ dodoc TODO
+
+ save_config config.h
+}
+
+pkg_postinst() {
+ elog "Please ensure a usable font is installed, like"
+ elog " media-fonts/corefonts"
+ elog " media-fonts/dejavu"
+ elog " media-fonts/urw-fonts"
+}