Sha256: ff022c50592a488d5f4270c67c3f1cf15e28c7f00b77f0083cf1a86c19c275fc

Contents?: true

Size: 767 Bytes

Versions: 1

Compression:

Stored size: 767 Bytes

Contents

require 'mkmf'

# Extract giflib
File.open("tar.log", "w") {
	|file| file.write(`tar -xvf giflib-5.1.1.tar.bz2`)
}

# Build giflib in extracted directory (build tool appears not to do this for directories created from within the build hook)
Dir.chdir("./giflib-5.1.1")

File.open("configure.log", "w") {
	|file| file.write(`./configure`)
}

File.open("make.log", "w") {
	|file| file.write(`make`)
}

File.open("make_install.log", "w") {
	|file| file.write(`sudo make install`)
}

Dir.chdir("..")

FileUtils.touch('./Makefile')

#have_library('libgif', 'DGifOpen')
#LIBARG='libgif'
#create_makefile('composite')

File.open("chmod.log","w") {
	|file| file.write(`chmod u+x libraryPath.sh`)
}

File.open("libraryPath.log","w") {
	|file| file.write(`./libraryPath.sh`)
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
giflib-0.1 ext/giflib/extconf.rb