$(eval $(call import.MODULE.defs,BZIP2,bzip2)) $(eval $(call import.CONTRIB.defs,BZIP2)) BZIP2.FETCH.url = https://download.handbrake.fr/handbrake/contrib/bzip2-1.0.6-official.tar.gz BZIP2.FETCH.url += https://sourceforge.net/projects/bzip2/files/bzip2-1.0.6.tar.gz BZIP2.FETCH.sha256 = a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd BZIP2.FETCH.basename = bzip2-1.0.6-official.tar.gz BZIP2.EXTRACT.tarbase = bzip2-1.0.6 BZIP2.CONFIGURE = $(TOUCH.exe) $@ BZIP2.BUILD.extra = \ PREFIX="$(BZIP2.CONFIGURE.prefix)" \ CC="$(BZIP2.GCC.gcc)" \ $(BZIP2.CONFIGURE.env.CFLAGS) \ RANLIB="$(RANLIB.exe)" BZIP2.BUILD.ntargets = libbz2.a define BZIP2.INSTALL $(CP.exe) $(BZIP2.EXTRACT.dir/)libbz2.a $(CONTRIB.build/)lib/ $(CP.exe) $(BZIP2.EXTRACT.dir/)bzlib.h $(CONTRIB.build/)include/ $(TOUCH.exe) $@ endef define BZIP2.UNINSTALL $(RM.exe) -f $(CONTRIB.build/)lib/libbz2.a $(RM.exe) -f $(CONTRIB.build/)include/bzlib.h $(RM.exe) -f $(BZIP2.INSTALL.target) endef