-rwxr-xr-x root/root bin/ed
-rwxr-xr-x root/root bin/red
drwxr-xr-x root/root usr/
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
--rw-r--r-- root/root usr/man/man1/ed.1.gz
-lrwxrwxrwx root/root usr/man/man1/red.1.gz -> ed.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/ed.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/red.1.gz -> ed.1.gz
# Depends on:
name=ed
-version=1.10
-release=1
+version=1.12
+release=2
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.lz)
build() {
--host=$CTARGET \
--prefix=/usr \
--exec-prefix=/ \
- --mandir=/usr/man
+ CFLAGS="$CFLAGS"
make CC="$CC" CFLAGS="$CFLAGS" CXX="$CXX" CXXFLAGS="$CXXFLAGS"
- make DESTDIR=$PKG install
- rm -r $PKG/usr/share
+ make DESTDIR=$PKG install-bin install-man
}