CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
findutils: adapted to 64b
[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.12
9 release=2
10 source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.lz)
11
12 build() {
13 bsdtar -xf $SRC/$name-$version.tar.lz
14 cd $name-$version
15
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr \
19 --exec-prefix=/ \
20 CFLAGS="$CFLAGS"
21
22 make CC="$CC" CFLAGS="$CFLAGS" CXX="$CXX" CXXFLAGS="$CXXFLAGS"
23 make DESTDIR=$PKG install-bin install-man
24 }