3
0
Fork 0
forked from mirrors/nixpkgs

subversion: install emacs lisp files too

svn path=/nixpkgs/trunk/; revision=12296
This commit is contained in:
Peter Simons 2008-07-07 11:46:50 +00:00
parent cff0831471
commit 13d8ee2275
2 changed files with 9 additions and 2 deletions

View file

@ -32,6 +32,8 @@ postInstall() {
-link http://java.sun.com/j2se/1.4.2/docs/api/ \
subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/*.java
fi
ensureDir $out/share/emacs/site-lisp
cp contrib/client-side/psvn/psvn.el contrib/client-side/vc-svn.el $out/share/emacs/site-lisp/
}
postInstall=postInstall

View file

@ -24,10 +24,10 @@ stdenv.mkDerivation rec {
name = "subversion-${version}";
#builder = ./builder.sh;
src = fetchurl {
url = http://subversion.tigris.org/downloads/subversion-1.5.0.tar.bz2;
sha1 = "1236a32521b4d8c02261cdc567f6a33d9623f51f";
sha256 = "1cwnsi38qjn4wdkyg4hy843dnh18djag60ks2zq9zrjwmhmrnpkm";
};
buildInputs = [zlib apr aprutil]
@ -46,6 +46,11 @@ stdenv.mkDerivation rec {
--disable-neon-version-check
'';
postInstall = ''
ensureDir $out/share/emacs/site-lisp
cp contrib/client-side/emacs/*.el $out/share/emacs/site-lisp/
'';
passthru = {
inherit perlBindings pythonBindings;
python = if swig != null && swig ? python then swig.python else null;