CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux-ng: update to 2.19.1
[crossrootfs.git] / less / Pkgfile
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 at crux-arm dot nu
5 # Depends on: ncurses libpcre
6
7 name=less
8 version=443
9 release=1
10 source=(http://www.greenwoodsoftware.com/less/$name-$version.tar.gz \
11 filter)
12
13 build() {
14 cd $name-$version
15
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr \
19 --mandir=/usr/man \
20 --with-regex=pcre
21
22 make
23 make DESTDIR=$PKG install
24 install -m 755 -D $SRC/filter $PKG/usr/lib/less/filter
25 }