|
|
@ -9,6 +9,12 @@ BZIP2_DIR = bzip2-$(BZIP2_VERSION) |
|
|
|
BZIP2_SOURCE = bzip2-$(BZIP2_VERSION).tar.gz |
|
|
|
BZIP2_SITE = https://sourceware.org/pub/bzip2 |
|
|
|
|
|
|
|
BZIP2_MAKE_ENV = \
|
|
|
|
$(TARGET_CONFIGURE_ENV) |
|
|
|
|
|
|
|
BZIP2_MAKE_OPTS = \
|
|
|
|
PREFIX=$(TARGET_prefix) |
|
|
|
|
|
|
|
define BZIP2_MAKEFILE_LIBBZ2_SO |
|
|
|
mv $(PKG_BUILD_DIR)/Makefile-libbz2_so $(PKG_BUILD_DIR)/Makefile |
|
|
|
endef |
|
|
@ -20,9 +26,4 @@ endef |
|
|
|
BZIP2_TARGET_FINALIZE_HOOKS += BZIP2_TARGET_CLEANUP |
|
|
|
|
|
|
|
bzip2: | $(TARGET_DIR) |
|
|
|
$(call PREPARE) |
|
|
|
$(CHDIR)/$($(PKG)_DIR); \
|
|
|
|
$(TARGET_CONFIGURE_ENV) \
|
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install PREFIX=$(TARGET_prefix) |
|
|
|
$(call TARGET_FOLLOWUP) |
|
|
|
$(call generic-package) |
|
|
|