summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Elias Pipping <pipping@exherbo.org> 2013-01-07 17:32:54 +0100
committerAvatar Elias Pipping <pipping@exherbo.org> 2013-01-07 17:49:01 +0100
commit2a52071e3515bcc0a48b82d575fc2a106c68e21a (patch)
tree9b466e2825439f3fd17e10c1d02df76f8189a7f1
parent1db104812f454f9aef78059ebaefb0f32c58efe9 (diff)
downloademacs-2a52071e3515bcc0a48b82d575fc2a106c68e21a.tar.gz
emacs-2a52071e3515bcc0a48b82d575fc2a106c68e21a.tar.xz
Add bbdb-scm
-rw-r--r--metadata/repository_mask.conf1
-rw-r--r--packages/app-emacs/bbdb/bbdb-scm.exheres-033
-rw-r--r--packages/app-emacs/bbdb/files/0001-Respect-DESTDIR.patch30
-rw-r--r--packages/app-emacs/bbdb/files/bbdb3-exherbo.el.in1
4 files changed, 65 insertions, 0 deletions
diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf
index 8b87db5..3f42c1b 100644
--- a/metadata/repository_mask.conf
+++ b/metadata/repository_mask.conf
@@ -1,4 +1,5 @@
(
+ app-emacs/bbdb[~scm]
app-emacs/bongo[~scm]
app-emacs/egg[~scm]
app-emacs/emacs-calfw[~scm]
diff --git a/packages/app-emacs/bbdb/bbdb-scm.exheres-0 b/packages/app-emacs/bbdb/bbdb-scm.exheres-0
new file mode 100644
index 0000000..c2f0859
--- /dev/null
+++ b/packages/app-emacs/bbdb/bbdb-scm.exheres-0
@@ -0,0 +1,33 @@
+# Copyright 2010 Wulf C. Krueger <philantrop@exherbo.org>
+# Copyright 2013 Elias Pipping <pipping@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+SCM_REPOSITORY="git://git.savannah.nongnu.org/bbdb.git"
+
+require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.13 ] ]
+require elisp-module scm-git
+
+SUMMARY="Insidious Big Brother Database for GNU Emacs"
+HOMEPAGE="http://savannah.nongnu.org/projects/bbdb/"
+
+LICENCES="GPL-3"
+SLOT="0"
+PLATFORMS="~amd64"
+MYOPTIONS=""
+
+DEPENDENCIES="
+ build+run:
+ app-editors/emacs
+"
+
+DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/0001-Respect-DESTDIR.patch )
+DEFAULT_SRC_CONFIGURE_PARAMS=( --with-lispdir="${ELISP_SITE_LISP}"/${PN} )
+
+ELISP_SITE_FILE="${FILES}"/bbdb3-exherbo.el.in
+
+src_install() {
+ default
+
+ elisp-install-site-file
+}
+
diff --git a/packages/app-emacs/bbdb/files/0001-Respect-DESTDIR.patch b/packages/app-emacs/bbdb/files/0001-Respect-DESTDIR.patch
new file mode 100644
index 0000000..95b79c1
--- /dev/null
+++ b/packages/app-emacs/bbdb/files/0001-Respect-DESTDIR.patch
@@ -0,0 +1,30 @@
+Source: Elias Pipping <pipping@exherbo.org>
+Upstream: no
+Reason: Respect DESTDIR
+
+From 9af8f3c8908b194e3fe63e4937310be67ce004ca Mon Sep 17 00:00:00 2001
+From: Elias Pipping <pipping@exherbo.org>
+Date: Mon, 7 Jan 2013 17:45:15 +0100
+Subject: [PATCH] Respect DESTDIR
+
+A bit unusual an approach; lisp/Makefile.in does it this way already
+---
+ doc/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/Makefile.in b/doc/Makefile.in
+index cc71356..e49c4b8 100644
+--- a/doc/Makefile.in
++++ b/doc/Makefile.in
+@@ -19,7 +19,7 @@
+
+ prefix = @prefix@
+ datarootdir = @datarootdir@
+-infodir = @infodir@
++infodir = $(DESTDIR)@infodir@
+ srcdir = @srcdir@
+ subdir = doc
+ top_srcdir = @top_srcdir@
+--
+1.8.1
+
diff --git a/packages/app-emacs/bbdb/files/bbdb3-exherbo.el.in b/packages/app-emacs/bbdb/files/bbdb3-exherbo.el.in
new file mode 100644
index 0000000..627608c
--- /dev/null
+++ b/packages/app-emacs/bbdb/files/bbdb3-exherbo.el.in
@@ -0,0 +1 @@
+(require 'bbdb-loaddefs)