summaryrefslogtreecommitdiff
path: root/ed/Pkgfile
blob: 15b1d85046264e523b97ebf39fbc0257d609f44d (plain)
    1 # Description: An 8-bit clean, POSIX-compliant line editor
    2 # URL:         http://www.gnu.org/software/ed/ed.html
    3 # Maintainer:  CRUX System Team, core-ports at crux dot nu
    4 
    5 name=ed
    6 version=0.4
    7 release=1
    8 source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
    9 
   10 build() {
   11     cd $name-$version
   12 
   13     # ed wants to use hard links for the binary and man pages,
   14     # but pkgmk cannot compress hard linked man pages yet.
   15     # as a temporary workaround, i'm making it use symlinks instead.
   16     sed -i -e 's/ln /ln -s /' Makefile.in
   17 
   18     ./configure --prefix=/usr --mandir=/usr/man
   19     make
   20     make DESTDIR=$PKG install install-man
   21     mv $PKG/usr/bin $PKG
   22     rm -rf $PKG/usr/share
   23 }

Generated by cgit