Commit | Line | Data |
---|---|---|
6dca1d21 JB |
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 | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
fb40565c | 5 | # Depends on: |
6dca1d21 JB |
6 | |
7 | name=ed | |
3d90fd75 VM |
8 | version=1.12 |
9 | release=2 | |
5e2095a3 | 10 | source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.lz) |
6dca1d21 JB |
11 | |
12 | build() { | |
5e2095a3 | 13 | bsdtar -xf $SRC/$name-$version.tar.lz |
6dca1d21 | 14 | cd $name-$version |
fb40565c | 15 | |
6dca1d21 JB |
16 | ./configure --build=$CHOST \ |
17 | --host=$CTARGET \ | |
18 | --prefix=/usr \ | |
19 | --exec-prefix=/ \ | |
3d90fd75 | 20 | CFLAGS="$CFLAGS" |
6dca1d21 | 21 | |
fb40565c | 22 | make CC="$CC" CFLAGS="$CFLAGS" CXX="$CXX" CXXFLAGS="$CXXFLAGS" |
3d90fd75 | 23 | make DESTDIR=$PKG install-bin install-man |
6dca1d21 | 24 | } |