summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-02-28 17:34:57 +0000
committerUlrich Müller <ulm@gentoo.org>2013-02-28 17:34:57 +0000
commit309088e55594cb1459a6d259fdf335d74092f7da (patch)
treea77665277e7e1fca2dd5c1b9f3921a4426a14fb0 /app-editors/uemacs-pk/uemacs-pk-4.0.15_p20130222.ebuild
parentFix metadata. (diff)
downloadhistorical-309088e55594cb1459a6d259fdf335d74092f7da.tar.gz
historical-309088e55594cb1459a6d259fdf335d74092f7da.tar.bz2
historical-309088e55594cb1459a6d259fdf335d74092f7da.zip
Fix build failure with separate tinfo library, bug 459728. Version bump. Remove old.
Package-Manager: portage-2.1.11.52/cvs/Linux x86_64 Manifest-Sign-Key: 0x9433907D693FB5B8!
Diffstat (limited to 'app-editors/uemacs-pk/uemacs-pk-4.0.15_p20130222.ebuild')
-rw-r--r--app-editors/uemacs-pk/uemacs-pk-4.0.15_p20130222.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/app-editors/uemacs-pk/uemacs-pk-4.0.15_p20130222.ebuild b/app-editors/uemacs-pk/uemacs-pk-4.0.15_p20130222.ebuild
new file mode 100644
index 000000000000..f41a0a7e1910
--- /dev/null
+++ b/app-editors/uemacs-pk/uemacs-pk-4.0.15_p20130222.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/uemacs-pk/uemacs-pk-4.0.15_p20130222.ebuild,v 1.1 2013/02/28 17:34:52 ulm Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="uEmacs/PK is an enhanced version of MicroEMACS"
+HOMEPAGE="http://git.kernel.org/?p=editors/uemacs/uemacs.git;a=summary
+ ftp://ftp.cs.helsinki.fi/pub/Software/Local/uEmacs-PK"
+# snapshot from git repo
+SRC_URI="mirror://gentoo/uemacs-${PV}.tar.xz"
+
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/uemacs"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-4.0.15_p20110825-gentoo.patch
+}
+
+src_compile() {
+ emake V=1 \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
+}
+
+src_install() {
+ dobin em
+ insinto /usr/share/${PN}
+ doins emacs.hlp
+ newins emacs.rc .emacsrc
+ dodoc README readme.39e emacs.ps UTF-8-demo.txt
+}