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 | |
5e2095a3 | 8 | version=1.10 |
6dca1d21 | 9 | release=1 |
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=/ \ | |
fb40565c | 20 | --mandir=/usr/man |
6dca1d21 | 21 | |
fb40565c | 22 | make CC="$CC" CFLAGS="$CFLAGS" CXX="$CXX" CXXFLAGS="$CXXFLAGS" |
6dca1d21 JB |
23 | make DESTDIR=$PKG install |
24 | rm -r $PKG/usr/share | |
25 | } |