comparison core/less/less.sh @ 606:25cecc6dca48

vanilla: use POSIX shell and busybox tar
author David Demelier <markand@malikania.fr>
date Thu, 18 Jul 2019 07:26:43 +0200
parents bad483aace64
children a133976e0783
comparison
equal deleted inserted replaced
605:860ab66f5f71 606:25cecc6dca48
31 : ${LIBS:=} 31 : ${LIBS:=}
32 32
33 build() 33 build()
34 { 34 {
35 rm -rf $PKGNAME-$PKGVERSION 35 rm -rf $PKGNAME-$PKGVERSION
36 tar xvaf $PKGNAME-$PKGVERSION.tar.gz 36 tar xvf $PKGNAME-$PKGVERSION.tar.gz
37 pushd $PKGNAME-$PKGVERSION 37 cd $PKGNAME-$PKGVERSION
38 38
39 CC="$CC" \ 39 CC="$CC" \
40 CFLAGS="$CFLAGS" \ 40 CFLAGS="$CFLAGS" \
41 LDFLAGS="$LDFLAGS" \ 41 LDFLAGS="$LDFLAGS" \
42 LIBS="$LIBS" \ 42 LIBS="$LIBS" \
46 --prefix= \ 46 --prefix= \
47 --with-regex=pcre 47 --with-regex=pcre
48 make 48 make
49 make install DESTDIR=$DESTDIR 49 make install DESTDIR=$DESTDIR
50 50
51 popd 51 cd ..
52 rm -rf $PKGNAME-$PKGVERSION 52 rm -rf $PKGNAME-$PKGVERSION
53 } 53 }