CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
kbd: updated to 1.15.3 and aligned with upstream
[crossrootfs.git] / ed / Pkgfile
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, devel at crux-arm dot nu
5 # Depends on:
6
7 name=ed
8 version=1.6
9 release=1
10 source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
11
12 build() {
13 cd $name-$version
14
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --exec-prefix=/ \
19 --mandir=/usr/man
20
21 make CC="$CC" CFLAGS="$CFLAGS" CXX="$CXX" CXXFLAGS="$CXXFLAGS"
22 make DESTDIR=$PKG install
23 rm -r $PKG/usr/share
24 }