emacs: updated to 22.1
This commit is contained in:
parent
3bb41e6c13
commit
c860cc686b
2652
emacs/.footprint
2652
emacs/.footprint
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
||||
8f9d97cbd126121bd5d97e5e31168a87 emacs-21.4a.tar.gz
|
||||
6949df37caec2d7a2e0eee3f1b422726 emacs-22.1.tar.gz
|
||||
|
@ -1,25 +1,31 @@
|
||||
# Description: an extensible, customizable, self-documenting real-time display editor
|
||||
# URL: http://www.gnu.org/software/emacs/
|
||||
# Maintainer: Antti Nykänen, aon at iki dot fi
|
||||
# Maintainer: Antti Nykanen, aon at iki dot fi
|
||||
# Depends on: xorg, libtiff
|
||||
|
||||
name=emacs
|
||||
version=21.4a
|
||||
version=22.1
|
||||
release=1
|
||||
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-21.4
|
||||
./configure --prefix=/usr \
|
||||
cd $name-$version
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libexecdir=/usr/lib \
|
||||
--mandir=/usr/man \
|
||||
--localstatedir=/usr/lib/emacs/$version \
|
||||
--with-x
|
||||
make
|
||||
make prefix=$PKG/usr libexecdir=$PKG/usr/lib install
|
||||
rm -rf $PKG/usr/bin/emacs-21.4 $PKG/usr/info
|
||||
find $PKG/usr/share/emacs -name "*.el" | while read file; do
|
||||
[ -f ${file}c ] && rm -f $file
|
||||
done
|
||||
chown -R root.root $PKG
|
||||
find $PKG/usr/share -type d -exec chmod 755 {} \;
|
||||
find $PKG/usr/share -type f -exec chmod 644 {} \;
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -rf $PKG/usr/share/info
|
||||
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
|
||||
|
||||
chown -R root:root $PKG
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user