blob: c9efd01d43247b124383ffd5875b12408cfa7e29 (
plain)
1 # Description: an extensible, customizable, self-documenting real-time display editor
2 # URL: http://www.gnu.org/software/emacs/
3 # Maintainer: Antti Nykanen, aon at iki dot fi
4 # Depends on: xorg, libtiff
5
6 name=emacs
7 version=22.1
8 release=1
9 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
10
11 build() {
12 cd $name-$version
13
14 ./configure \
15 --prefix=/usr \
16 --libexecdir=/usr/lib \
17 --mandir=/usr/man \
18 --localstatedir=/usr/lib/emacs/$version \
19 --with-x
20
21 make
22 make DESTDIR=$PKG install
23
24 rm -rf $PKG/usr/share/info
25 find $PKG/usr/share/emacs -name "*.el.gz" | while read file; do
26 [ -f ${file%.gz}c ] && rm -f $file
27 done
28 rm $PKG/usr/bin/emacs-$version
29
30 chown -R root:root $PKG
31 }
|