Commit | Line | Data |
---|---|---|
6dca1d21 | 1 | # Description: A terminal based program for viewing text files |
cb4559fe JB |
2 | # URL: http://www.greenwoodsoftware.com/less/ |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
2ae31694 | 5 | # Depends on: ncurses libpcre |
6dca1d21 JB |
6 | |
7 | name=less | |
ec9ac3e1 | 8 | version=451 |
6dca1d21 JB |
9 | release=1 |
10 | source=(http://www.greenwoodsoftware.com/less/$name-$version.tar.gz \ | |
11 | filter) | |
12 | ||
13 | build() { | |
cb4559fe JB |
14 | cd $name-$version |
15 | ||
16 | ./configure --build=$CHOST \ | |
17 | --host=$CTARGET \ | |
18 | --prefix=/usr \ | |
f32674b4 VM |
19 | --mandir=/usr/man \ |
20 | --with-regex=pcre | |
cb4559fe JB |
21 | |
22 | make | |
23 | make DESTDIR=$PKG install | |
24 | install -m 755 -D $SRC/filter $PKG/usr/lib/less/filter | |
6dca1d21 | 25 | } |