CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux-ng: update to 2.19.1
[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
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
fb40565c 5# Depends on:
6dca1d21
JB
6
7name=ed
647cd8f5 8version=1.5
6dca1d21
JB
9release=1
10source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
11
12build() {
13 cd $name-$version
fb40565c 14
6dca1d21
JB
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --exec-prefix=/ \
fb40565c 19 --mandir=/usr/man
6dca1d21 20
fb40565c 21 make CC="$CC" CFLAGS="$CFLAGS" CXX="$CXX" CXXFLAGS="$CXXFLAGS"
6dca1d21
JB
22 make DESTDIR=$PKG install
23 rm -r $PKG/usr/share
24}