File: extconf.rb

package info (click to toggle)
ruby-libvirt 0.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 832 kB
  • sloc: ansic: 8,052; ruby: 2,541; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'mkmf'

extension_name = '_libvirt'

unless pkg_config("libvirt")
  raise "libvirt library not found in default locations"
end

unless pkg_config("libvirt-qemu")
  raise "libvirt library not found in default locations"
end

unless pkg_config("libvirt-lxc")
  raise "libvirt library not found in default locations"
end

create_header
create_makefile(extension_name)