1 include ..
/..
/Makefile.
include
3 PLATFORM
=$(NATIVEPLATFORM
)
4 DEPS
= ..
/..
/Makefile.
include Makefile ..
/..
/download-files.
include
9 SOURCE
=$(LIBNAME
)-$(VERSION
)
10 ARCHIVE
=$(SOURCE
).
tar.gz
11 SHA512
=dbf6182d4813ff7e355ea1713c748bfdf8290040a93f123acec645c7a1733fe457ab6e0ab51c4ec83cf82bc43d7fb35cbf89875df7b5c2ffc9635e85458cfeee
12 include ..
/..
/download-files.
include
14 # configuration settings
15 CONFIGURE
=.
/configure
--prefix=$(PREFIX
)
17 # clear env vars in case already active on system
21 LIBDYLIB
=$(PLATFORM
)/bin
/autoconf
23 all: .installed-
$(PLATFORM
)
26 $(PLATFORM
): $(TARBALLS_LOCATION
)/$(ARCHIVE
).
$(HASH_TYPE
) $(DEPS
)
27 -rm -rf
$(PLATFORM
)/*; mkdir
-p
$(PLATFORM
)
28 cd
$(PLATFORM
); $(ARCHIVE_TOOL
) $(ARCHIVE_TOOL_FLAGS
) $(TARBALLS_LOCATION
)/$(ARCHIVE
)
30 $(LIBDYLIB
): $(PLATFORM
)
31 cd
$(PLATFORM
); perl Makefile.PL PREFIX
=$(NATIVEPREFIX
)
32 cd
$(PLATFORM
); $(MAKE
)
34 .installed-
$(PLATFORM
): $(LIBDYLIB
)
35 cd
$(PLATFORM
); $(MAKE
) install
39 $(MAKE
) -C
$(PLATFORM
) clean
40 rm -f .installed-
$(PLATFORM
)
43 rm -rf
$(PLATFORM
) .installed-
$(PLATFORM
)