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/
|
2007-06-04 21:27:39 +03:00
|
|
|
# Maintainer: Antti Nykanen, aon at iki dot fi
|
2007-03-25 17:35:35 +03:00
|
|
|
# Depends on: xorg, libtiff
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=emacs
|
2007-06-04 21:27:39 +03:00
|
|
|
version=22.1
|
2006-02-23 15:26:10 +00:00
|
|
|
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() {
|
2007-06-04 21:27:39 +03:00
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2006-02-23 15:26:10 +00:00
|
|
|
--libexecdir=/usr/lib \
|
2007-06-04 21:27:39 +03:00
|
|
|
--mandir=/usr/man \
|
|
|
|
--localstatedir=/usr/lib/emacs/$version \
|
2006-02-23 15:26:10 +00:00
|
|
|
--with-x
|
2007-06-04 21:27:39 +03:00
|
|
|
|
|
|
|
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
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|