Mercurial > vanilla
comparison Templates/build/perl.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 8cbb83c16868 |
children | 325631424c65 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
23 PKGWWW="http://example.org" | 23 PKGWWW="http://example.org" |
24 PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz" | 24 PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz" |
25 PKGDEPENDS="perl" | 25 PKGDEPENDS="perl" |
26 # PKGOPTIONS="FOO BAR BAZ" | 26 # PKGOPTIONS="FOO BAR BAZ" |
27 | 27 |
28 build() | 28 rm -rf $PKGNAME-$PKGVERSION |
29 { | 29 tar xvf $PKGNAME-$PKGVERSION.tar.gz |
30 rm -rf $PKGNAME-$PKGVERSION | 30 cd $PKGNAME-$PKGVERSION |
31 tar xvf $PKGNAME-$PKGVERSION.tar.gz | |
32 cd $PKGNAME-$PKGVERSION | |
33 | 31 |
34 perl Makefile.PL INSTALLDIRS=vendor | 32 perl Makefile.PL INSTALLDIRS=vendor |
35 make DESTDIR=$DESTDIR install | 33 make DESTDIR=$DESTDIR install |
36 | 34 |
37 cd .. | 35 cd .. |
38 rm -rf $PKGNAME-$PKGVERSION | 36 rm -rf $PKGNAME-$PKGVERSION |
39 } |