comparison text/asciidoc/asciidoc.sh @ 1222:325631424c65

misc: bring back build function
author David Demelier <markand@malikania.fr>
date Wed, 27 Oct 2021 11:32:16 +0200
parents a47aaf9743a0
children 9867e578b1a9
comparison
equal deleted inserted replaced
1221:a47aaf9743a0 1222:325631424c65
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 rm -rf $PKGNAME-$PKGVERSION 27 build()
28 tar xvf $PKGVERSION.tar.gz 28 {
29 cd $PKGNAME-$PKGVERSION 29 rm -rf $PKGNAME-$PKGVERSION
30 tar xvf $PKGVERSION.tar.gz
31 cd $PKGNAME-$PKGVERSION
30 32
31 sed -i -e "s|python a2x.py|python2 a2x.py|" Makefile.in 33 sed -i -e "s|python a2x.py|python2 a2x.py|" Makefile.in
32 autoreconf -vif 34 autoreconf -vif
33 ./configure \ 35 ./configure \
34 --build=$CBUILD \ 36 --build=$CBUILD \
35 --host=$CHOST \ 37 --host=$CHOST \
36 --prefix=/usr 38 --prefix=
37 make 39 make
38 make install DESTDIR=$DESTDIR 40 make install DESTDIR=$DESTDIR
39 41
40 cd .. 42 cd ..
41 rm -rf $PKGNAME-$PKGVERSION 43 rm -rf $PKGNAME-$PKGVERSION
44 }