2008-10-11 04:14:02 +00:00
|
|
|
#
|
|
|
|
# This helper runs the GNU autoconf tools and friends for a template.
|
|
|
|
# Optionally $automake_dir may be specified for a specific directory.
|
|
|
|
#
|
|
|
|
|
|
|
|
run_automake()
|
|
|
|
{
|
2008-10-13 05:32:05 +00:00
|
|
|
$XBPS_MASTERDIR/bin/aclocal
|
|
|
|
$XBPS_MASTERDIR/bin/libtoolize --automake
|
|
|
|
$XBPS_MASTERDIR/bin/automake -a --foreign -i
|
|
|
|
$XBPS_MASTERDIR/bin/autoconf
|
2008-10-11 04:14:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if [ -z "$automake_dir" ]; then
|
|
|
|
cd $wrksrc && run_automake
|
|
|
|
else
|
|
|
|
cd $wrksrc/$automake_dir && run_automake
|
|
|
|
fi
|