default_pre_build         &&
verify_source "$SOURCE2"  &&
verify_source "$SOURCE3"  &&
cd $SOURCE_DIRECTORY      &&

#
# Remove building of internal GeoIP
#
patch -p1 < $SPELL_DIRECTORY/systemgeoip.patch &&

#
# Unpack already downloaded GeoIP data
#
cp $SOURCE_CACHE/$SOURCE2 .  &&
cp $SOURCE_CACHE/$SOURCE3 .  &&
gunzip $SOURCE2              &&
gunzip $SOURCE3              &&

#
# Fake GeoIP source as it's already installed
#
touch GeoIP.tar.gz  &&

./autogen.sh --noconfig
