# -*-makefile-*- # # Copyright (C) @YEAR@ by @AUTHOR@ # # 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_@PACKAGE@) += @package@ # # Paths and names # @PACKAGE@_VERSION := @VERSION@ @PACKAGE@_MD5 := @PACKAGE@ := @package_filename@-$(@PACKAGE@_VERSION) @PACKAGE@_SUFFIX := @SUFFIX@ @PACKAGE@_URL := @URL@/$(@PACKAGE@).$(@PACKAGE@_SUFFIX) @PACKAGE@_SOURCE := $(SRCDIR)/$(@PACKAGE@).$(@PACKAGE@_SUFFIX) @PACKAGE@_DIR := $(KLIBC_BUILDDIR)/$(@PACKAGE@) ifdef PTXCONF_@PACKAGE@ $(STATEDIR)/klibc.targetinstall.post: $(STATEDIR)/@package@.targetinstall endif # ---------------------------------------------------------------------------- # Get # ---------------------------------------------------------------------------- #$(@PACKAGE@_SOURCE): # @$(call targetinfo) # @$(call get, @PACKAGE@) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- @PACKAGE@_CONF_ENV := $(KLIBC_ENV) # # autoconf # @PACKAGE@_CONF_TOOL := autoconf @PACKAGE@_CONF_OPT := $(KLIBC_AUTOCONF) #$(STATEDIR)/@package@.prepare: # @$(call targetinfo) # @$(call clean, $(@PACKAGE@_DIR)/config.cache) # cd $(@PACKAGE@_DIR) && \ # $(@PACKAGE@_PATH) $(@PACKAGE@_ENV) \ # ./configure $(@PACKAGE@_CONF_OPT) # @$(call touch) # ---------------------------------------------------------------------------- # Compile # ---------------------------------------------------------------------------- #$(STATEDIR)/@package@.compile: # @$(call targetinfo) # @$(call world/compile, @PACKAGE@) # @$(call touch) # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- #$(STATEDIR)/@package@.install: # @$(call targetinfo) # @$(call world/install, @PACKAGE@) # @$(call touch) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/@package@.targetinstall: @$(call targetinfo) @$(call install_initramfs, @package@, 0, 0, 0755, $(@PACKAGE@_DIR)/foobar, /foobar); @$(call touch) # ---------------------------------------------------------------------------- # Clean # ---------------------------------------------------------------------------- #$(STATEDIR)/@package@.clean: # @$(call targetinfo) # @$(call clean_pkg, @PACKAGE@) # vim: syntax=make