summaryrefslogtreecommitdiffstats
path: root/ed/Pkgfile.old
blob: 209ef88c065dbaca6c32dac083108b5f0c7165e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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=1.5
release=1
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)

build() {
    cd $name-$version

    ./configure --prefix=/usr \
                --exec-prefix=/ \
                --mandir=/usr/man \
                CFLAGS="$CFLAGS"

    make
    make DESTDIR=$PKG install
    rm -r $PKG/usr/share
}