Sha256: bdf6ce852a7f64c9abdd083089695bc404d534fd5a2b65876b5cd99dde0d5bb2

Contents?: true

Size: 532 Bytes

Versions: 1

Compression:

Stored size: 532 Bytes

Contents

#
# making Makefile getting kindlegen from Amazon.com
#

File::open( 'Makefile', 'w' ) do |w|
	w.puts RbConfig.expand( DATA.read )
end

__END__
AMAZON = http://s3.amazonaws.com/kindlegen
TARGET = kindlegen
BINDIR = $(bindir)
PLATFORM = linux_2.6_i386
VERSION = 1.2
TARBALL = $(TARGET)_$(PLATFORM)_v$(VERSION).tar.gz
CURL = curl
TARX = tar zxf
CP = cp

all: $(TARGET)

$(TARGET): $(TARBALL)
	$(TARX) $(TARBALL)
	touch $(TARGET)

$(TARBALL):
	$(CURL) $(AMAZON)/$(TARBALL) -o $(TARBALL)

install: $(TARGET)
	$(CP) $(TARGET) $(BINDIR)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kindlegen-1.2.0 ext/kindlegen/extconf.rb