File: extconf.rb

package info (click to toggle)
libexif-ruby 0.1.2-15
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 128 kB
  • ctags: 47
  • sloc: ansic: 561; ruby: 21; makefile: 17
file content (16 lines) | stat: -rw-r--r-- 386 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'mkmf'

dir_config("exif", "/usr/local/include", "/usr/local/lib")

def have_libexif_header
  have_header('libexif/exif-ifd.h') and
  have_header('libexif/exif-data.h') and
#  have_header('libexif/exif-note.h') and
  have_header('libexif/exif-utils.h') and
  have_header('libexif/exif-tag.h') 
end

if have_libexif_header and have_library("exif")
  create_makefile("exif")
end