24 lines
683 B
Plaintext
24 lines
683 B
Plaintext
# Description: An 8-bit clean, POSIX-compliant line editor
|
|
# URL: http://www.gnu.org/software/ed/ed.html
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
name=ed
|
|
version=0.6
|
|
release=1
|
|
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# ed wants to use hard links for the binary and man pages,
|
|
# but pkgmk cannot compress hard linked man pages yet.
|
|
# as a temporary workaround, i'm making it use symlinks instead.
|
|
sed -i -e 's/ln /ln -s /' Makefile.in
|
|
|
|
./configure --prefix=/usr --mandir=/usr/man
|
|
make
|
|
make DESTDIR=$PKG install install-man
|
|
mv $PKG/usr/bin $PKG
|
|
rm -rf $PKG/usr/share
|
|
}
|