~ubuntu-branches/ubuntu/wily/ecasound/wily-proposed

« back to all changes in this revision

Viewing changes to debian/ecasound-el.emacsen-install

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini, Alessandro Ghedini, Alessio Treglia
  • Date: 2012-05-22 21:31:25 UTC
  • Revision ID: package-import@ubuntu.com-20120522213125-f14ecq0rlvp6boes
Tags: 2.8.1-7
[ Alessandro Ghedini ]
* Adjust Ruby bindings package name in the dh_fixperms override
  (fixes executable-not-elf-or-script)
* ecasound-el is Section: lisp
* Update ecasound.rb install path as per new Ruby Policy
* Update emacsen install and remove scripts (Closes: #671568)
* Drop 1001-disable_python_tests.patch (the tests are not run anyway)
* Use debian-pkg-add-load-path-item in emacsen startup script
  (Closes: #671551)
* Set up ecasound-ewf-mode with .ewf files (Closes: #672184)
* Add more DEP3 headers to the patches
* Add 04_fix-ecasound.el-ewf-regexp.patch
* Check if the elisp package dir exists in the startup script
* Build depend on python-all and not python-all-dev since we only ship the
  native Python module
* Remove misleading paragraph from long descriptions

[ Alessio Treglia ]
* Remove myself from the Uploaders field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh -e
 
1
#!/bin/sh -e
2
2
# /usr/lib/emacsen-common/packages/install/ecasound-el
3
3
 
4
 
# Written by Jim Van Zandt <jrv@vanzandt.mv.com>, borrowing heavily
5
 
# from the install scripts for gettext by Santiago Vila
6
 
# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.
7
 
# modified by Junichi Uekawa for ecasound, 11 Jan 2003
8
 
 
9
4
FLAVOR=$1
10
5
PACKAGE=ecasound-el
11
6
 
12
 
case ${FLAVOR} in 
13
 
    emacs|emacs20)
14
 
        exit 0;;
15
 
    *)
16
 
        ;;
17
 
esac
 
7
if [ ${FLAVOR} = emacs ]; then exit 0; fi
18
8
 
19
9
echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
20
10
 
21
 
#FLAVORTEST=`echo $FLAVOR | cut -c-6`
22
 
#if [ ${FLAVORTEST} = xemacs ] ; then
23
 
#    SITEFLAG="-no-site-file"
24
 
#else
25
 
#    SITEFLAG="--no-site-file"
26
 
#fi
27
11
FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
28
12
 
29
13
ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
30
14
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
31
15
 
32
 
# Install-info-altdir does not actually exist. 
33
 
# Maybe somebody will write it.
34
 
if test -x /usr/sbin/install-info-altdir; then
35
 
    echo install/${PACKAGE}: install Info links for ${FLAVOR}
36
 
    install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz
37
 
fi
38
 
 
39
16
install -m 755 -d ${ELCDIR}
40
17
cd ${ELDIR}
41
18
FILES=`echo *.el`
42
 
cp ${FILES} ${ELCDIR}
 
19
ln -sf ${ELDIR}/*.el ${ELCDIR}
43
20
cd ${ELCDIR}
44
21
 
45
22
cat << EOF > path.el
46
23
(setq load-path (cons "." load-path) byte-compile-warnings nil)
47
24
EOF
48
25
${FLAVOR} ${FLAGS} ${FILES}
49
 
rm -f *.el path.el
 
26
rm -f path.el
50
27
 
51
28
exit 0