# -*-makefile-*- # # Copyright (C) 2009 by Luotao Fu # 2010 by Marc Kleine-Budde # # See CREDITS for details about who has contributed to this project. # # For further information about the PTXdist project and license conditions # see the README file. # # # We provide this package # PACKAGES-$(PTXCONF_BZIP2) += bzip2 # # Paths and names # BZIP2_VERSION := 1.0.6 BZIP2_MD5 := 00b516f4704d4a7cb50a1d97e6e8e15b BZIP2 := bzip2-$(BZIP2_VERSION) BZIP2_SUFFIX := tar.gz BZIP2_URL := http://www.bzip.org/$(BZIP2_VERSION)/$(BZIP2).$(BZIP2_SUFFIX) BZIP2_SOURCE := $(SRCDIR)/$(BZIP2).$(BZIP2_SUFFIX) BZIP2_DIR := $(BUILDDIR)/$(BZIP2) BZIP2_LICENSE := bzip2-1.0.6 # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- BZIP2_MAKE_OPT := $(CROSS_ENV) BZIP2_INSTALL_OPT := PREFIX=/usr install # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/bzip2.targetinstall: @$(call targetinfo) @$(call install_init, bzip2) @$(call install_fixup, bzip2,PRIORITY,optional) @$(call install_fixup, bzip2,SECTION,base) @$(call install_fixup, bzip2,AUTHOR,"Luotao Fu ") @$(call install_fixup, bzip2,DESCRIPTION,missing) ifdef PTXCONF_BZIP2_LIBBZ2 @$(call install_lib, bzip2, 0, 0, 0644, libbz2) endif ifdef PTXCONF_BZIP2_BZIP2 @$(call install_copy, bzip2, 0, 0, 0755, -, /usr/bin/bzip2) endif ifdef PTXCONF_BZIP2_BZIP2RECOVER @$(call install_copy, bzip2, 0, 0, 0755, -, /usr/bin/bzip2recover) endif @$(call install_finish, bzip2) @$(call touch) # vim: syntax=make