Build a package with make

  $ mkdir foo
  $ cat >foo/Makefile <<EOF
  > .DEFAULT: foo
  > .PHONY: foo
  > foo: ; @echo running makefile
  > EOF
  $ make_lockdir
  $ make_lockpkg foo <<EOF
  > (version 0.0.1)
  > (build (run %{make}))
  > (source (copy $PWD/foo))
  > EOF
  $ build_pkg foo
  running makefile
