CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
binutils: update to 2.22. Removed host's texinfo dependency.
[crossrootfs.git] / less / Pkgfile
index 542757c5b9346ca64359772ad557f0f3080a8206..36d42d7f480e5745b5489349916b637cb098c619 100644 (file)
@@ -1,22 +1,25 @@
 # 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=443
 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 \
+              --mandir=/usr/man \
+              --with-regex=pcre
+
+  make
+  make DESTDIR=$PKG install
+  install -m 755 -D $SRC/filter $PKG/usr/lib/less/filter
 }