2008-10-11 06:14:02 +02: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 07:32:05 +02:00
|
|
|
$XBPS_MASTERDIR/bin/aclocal
|
|
|
|
$XBPS_MASTERDIR/bin/libtoolize --automake
|
|
|
|
$XBPS_MASTERDIR/bin/automake -a --foreign -i
|
|
|
|
$XBPS_MASTERDIR/bin/autoconf
|
2008-10-11 06:14:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if [ -z "$automake_dir" ]; then
|
|
|
|
cd $wrksrc && run_automake
|
|
|
|
else
|
|
|
|
cd $wrksrc/$automake_dir && run_automake
|
|
|
|
fi
|