#!/usr/bin/env ascript
import(module_builder) {build}
build('yaml.azd', ['Module_yaml.cpp']) {
	msc = bcc = %{
		`dlls => ['yaml.dll']
	}
	gnuc = %{
		`libs => ['yaml']
		`hint => '''\
It seems necessary libraries have not been installed on your system.
See the following steps to resolve this problem.
- Compile source code:
  $ wget http://pyyaml.org/download/libyaml/yaml-0.1.3.tar.gz
  $ tar xvfz yaml-0.1.3.tar.gz
  $ cd yaml-0.1.3
  $ ./configure
  $ make
  $ sudo make install
  $ sudo ldconfig
'''
	}
}
