CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
signify: initial import
[crossrootfs.git] / less / Pkgfile
index 542757c5b9346ca64359772ad557f0f3080a8206..6cf47a08595f19cc3f55bb2582482262e11c5dca 100644 (file)
@@ -1,22 +1,23 @@
 # Description: A terminal based program for viewing text files
-# URL:         http://www.greenwoodsoftware.com/less/
-# Maintainer:  CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System
-# Depends on:  ncurses
+# URL: http://www.greenwoodsoftware.com/less/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: ncurses libpcre
 
 name=less
-version=429
+version=481
 release=1
 source=(http://www.greenwoodsoftware.com/less/$name-$version.tar.gz \
         filter)
 
 build() {
-    cd $name-$version
-    ./configure --build=$CHOST \
-               --host=$CTARGET \
-               --prefix=/usr \
-               --mandir=/usr/man
-    make
-    make DESTDIR=$PKG install
-    install -m 755 -D $SRC/filter $PKG/usr/lib/less/filter
+  cd $name-$version
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --with-regex=pcre
+  make
+  make DESTDIR=$PKG install
+  install -m 755 -D $SRC/filter $PKG/usr/lib/less/filter
 }