From 19e8b17ad3c864e5fd6934f41b27c5e8b50c9644 Mon Sep 17 00:00:00 2001 From: Lukc Date: Wed, 12 Jan 2011 20:20:10 +0100 Subject: Modification de la recette de less pour utiliser le fichier d’inclusion des autotools. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- less/Pkgfile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'less/Pkgfile') 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 } -- cgit v1.2.3-70-g09d2