2006-04-09 04:33:03 +00:00
|
|
|
|
# Description: an extensible, customizable, self-documenting real-time display editor
|
2006-04-09 07:53:28 +00:00
|
|
|
|
# URL: http://www.gnu.org/software/emacs/
|
2006-09-09 21:11:35 +00:00
|
|
|
|
# Maintainer: Antti Nyk<79>nen, aon at iki dot fi
|
2006-04-09 07:53:28 +00:00
|
|
|
|
# Depends on: x11, libtiff
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
name=emacs
|
|
|
|
|
version=21.4a
|
|
|
|
|
release=1
|
2006-10-13 13:50:49 +00:00
|
|
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-21.4
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--libexecdir=/usr/lib \
|
|
|
|
|
--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 {} \;
|
|
|
|
|
}
|