void-packages/helper-templates/automake.sh
Juan RP 84d4f6391a Change helper-templates files to mode 644.
--HG--
extra : convert_revision : a156c08bb49d2314e667b86feba5a5a3180e39f2
2008-10-13 07:51:55 +02:00

18 lines
423 B
Bash

#
# This helper runs the GNU autoconf tools and friends for a template.
# Optionally $automake_dir may be specified for a specific directory.
#
run_automake()
{
$XBPS_MASTERDIR/bin/aclocal
$XBPS_MASTERDIR/bin/libtoolize --automake
$XBPS_MASTERDIR/bin/automake -a --foreign -i
$XBPS_MASTERDIR/bin/autoconf
}
if [ -z "$automake_dir" ]; then
cd $wrksrc && run_automake
else
cd $wrksrc/$automake_dir && run_automake
fi