Mercurial > vanilla
comparison text/asciidoc/asciidoc.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 8604ee710a55 |
children | 57dc83a39b13 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
22 PKGSUMMARY="text based documentation" | 22 PKGSUMMARY="text based documentation" |
23 PKGDOWNLOAD="https://github.com/asciidoc/asciidoc/archive/$PKGVERSION.tar.gz" | 23 PKGDOWNLOAD="https://github.com/asciidoc/asciidoc/archive/$PKGVERSION.tar.gz" |
24 PKGDEPENDS="python2 libxml2 docbook-xsl" | 24 PKGDEPENDS="python2 libxml2 docbook-xsl" |
25 PKGTAGS="DEPRECATED" | 25 PKGTAGS="DEPRECATED" |
26 | 26 |
27 build() | 27 rm -rf $PKGNAME-$PKGVERSION |
28 { | 28 tar xvf $PKGVERSION.tar.gz |
29 rm -rf $PKGNAME-$PKGVERSION | 29 cd $PKGNAME-$PKGVERSION |
30 tar xvf $PKGVERSION.tar.gz | |
31 cd $PKGNAME-$PKGVERSION | |
32 | 30 |
33 sed -i -e "s|python a2x.py|python2 a2x.py|" Makefile.in | 31 sed -i -e "s|python a2x.py|python2 a2x.py|" Makefile.in |
34 autoreconf -vif | 32 autoreconf -vif |
35 ./configure \ | 33 ./configure \ |
36 --build=$CBUILD \ | 34 --build=$CBUILD \ |
37 --host=$CHOST \ | 35 --host=$CHOST \ |
38 --prefix= | 36 --prefix= |
39 make | 37 make |
40 make install DESTDIR=$DESTDIR | 38 make install DESTDIR=$DESTDIR |
41 | 39 |
42 cd .. | 40 cd .. |
43 rm -rf $PKGNAME-$PKGVERSION | 41 rm -rf $PKGNAME-$PKGVERSION |
44 } |