emacs: dep on external {c,e}tags instead of installing them to avoid conflicts

This commit is contained in:
Antti Nykanen 2008-04-26 23:37:34 +03:00
parent 10b91f0c8b
commit 97b725be01
2 changed files with 3 additions and 6 deletions

View File

@ -1,11 +1,9 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/b2m
-rwxr-xr-x root/root usr/bin/ctags
-rwxr-xr-x root/root usr/bin/ebrowse
-rwxr-xr-t root/root usr/bin/emacs
-rwxr-xr-x root/root usr/bin/emacsclient
-rwxr-xr-x root/root usr/bin/etags
-rwxr-xr-x root/root usr/bin/grep-changelog
-rwxr-xr-x root/root usr/bin/rcs-checkin
drwxr-xr-x root/root usr/lib/
@ -28,10 +26,8 @@ drwxr-xr-x root/root usr/lib/emacs/22.2/i686-pc-linux-gnu/
-rwxr-xr-x root/root usr/lib/emacs/22.2/i686-pc-linux-gnu/vcdiff
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/ctags.1.gz
-rw-r--r-- root/root usr/man/man1/emacs.1.gz
-rw-r--r-- root/root usr/man/man1/emacsclient.1.gz
-rw-r--r-- root/root usr/man/man1/etags.1.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/emacs/
drwxr-xr-x root/root usr/share/emacs/22.2/

View File

@ -1,7 +1,7 @@
# Description: an extensible, customizable, self-documenting real-time display editor
# URL: http://www.gnu.org/software/emacs/
# Maintainer: Antti Nykanen, aon at iki dot fi
# Depends on: xorg, libtiff
# Depends on: xorg, libtiff, ctags
name=emacs
version=22.2
@ -25,7 +25,8 @@ build() {
find $PKG/usr/share/emacs -name "*.el.gz" | while read file; do
[ -f ${file%.gz}c ] && rm -f $file
done
rm $PKG/usr/bin/emacs-$version
rm -f $PKG/usr/bin/emacs-$version
rm -f $PKG/usr/{bin/{c,e}tags,man/man1/{c,e}tags.1}
chown -R root:root $PKG
}