summaryrefslogtreecommitdiffstats
path: root/less
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2011-01-12 20:20:10 +0100
committerLukc <lukc@upyum.com>2011-01-12 20:20:10 +0100
commit19e8b17ad3c864e5fd6934f41b27c5e8b50c9644 (patch)
tree074fe2796e468f538cf23ba6c777bb05c40e3327 /less
parent784c34c17aa020c32765c83e75b8f44f80458b70 (diff)
downloadbase-19e8b17ad3c864e5fd6934f41b27c5e8b50c9644.tar.gz
base-19e8b17ad3c864e5fd6934f41b27c5e8b50c9644.tar.bz2
base-19e8b17ad3c864e5fd6934f41b27c5e8b50c9644.tar.xz
base-19e8b17ad3c864e5fd6934f41b27c5e8b50c9644.zip
Modification de la recette de less pour utiliser le fichier d’inclusion des autotools.
Diffstat (limited to 'less')
-rw-r--r--less/Pkgfile14
1 files changed, 4 insertions, 10 deletions
diff --git a/less/Pkgfile b/less/Pkgfile
index 76c0326..6b62101 100644
--- a/less/Pkgfile
+++ b/less/Pkgfile
@@ -8,15 +8,9 @@ name=less
version=429
release=1
source=(http://www.greenwoodsoftware.com/$name/$name-$version.tar.gz filter)
-build ()
-{
- cd $name-$version;
- ./configure \
- ${CBUILD:+--build=${CBUILD}} \
- ${CHOST:+--host=${CHOST}} \
- --prefix=$prefix \
- --mandir=$mandir;
- make;
- make DESTDIR=$PKG install;
+includes=(autotools)
+configure_opts=($(use_enable static))
+
+function post_build {
install -m 755 -D $SRC/filter $PKG$prefix/lib/less/filter
}