CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Merged changes from noeabi (72cbd18e791bd2edff0e8d23873136187f0cd936)
[crossrootfs.git] / less / Pkgfile
... / ...
CommitLineData
1# Description: A terminal based program for viewing text files
2# URL: http://www.greenwoodsoftware.com/less/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
5# Depends on: ncurses
6
7name=less
8version=429
9release=1
10source=(http://www.greenwoodsoftware.com/less/$name-$version.tar.gz \
11 filter)
12
13build() {
14 cd $name-$version
15
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr \
19 --mandir=/usr/man
20
21 make
22 make DESTDIR=$PKG install
23 install -m 755 -D $SRC/filter $PKG/usr/lib/less/filter
24}