CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / ed / Pkgfile
CommitLineData
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
4# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
5
6name=ed
7version=1.4
8release=1
9source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
10
11build() {
12 cd $name-$version
13
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr \
17 --exec-prefix=/ \
18 --mandir=/usr/man \
19 CC="$CC" CXX="$CXX"
20
21 make
22 make DESTDIR=$PKG install
23 rm -r $PKG/usr/share
24}