File: extconf.rb

package info (click to toggle)
ruby-exif 0.1.2-22
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 188 kB
  • sloc: ansic: 1,121; ruby: 33; makefile: 3
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