CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[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.10
9 release=1
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 --mandir=/usr/man
21
22 make CC="$CC" CFLAGS="$CFLAGS" CXX="$CXX" CXXFLAGS="$CXXFLAGS"
23 make DESTDIR=$PKG install
24 rm -r $PKG/usr/share
25 }