You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
743 B
29 lines
743 B
################################################################################
|
|
#
|
|
# bzip2
|
|
#
|
|
################################################################################
|
|
|
|
BZIP2_VERSION = 1.0.8
|
|
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
|
|
BZIP2_POST_PATCH_HOOKS += BZIP2_MAKEFILE_LIBBZ2_SO
|
|
|
|
define BZIP2_TARGET_CLEANUP
|
|
$(TARGET_RM) $(TARGET_bindir)/bzip2
|
|
endef
|
|
BZIP2_TARGET_FINALIZE_HOOKS += BZIP2_TARGET_CLEANUP
|
|
|
|
bzip2: | $(TARGET_DIR)
|
|
$(call generic-package)
|
|
|