# -*-makefile-*- # # Copyright (C) 2012 by Jan Luebbe # # For further information about the PTXdist project and license conditions # see the README file. # # # We provide this package # PACKAGES-$(PTXCONF_IW) += iw # # Paths and names # IW_VERSION := 6.7 IW_MD5 := a63e81b0dcae9caf9ed3a20f2c445a07 IW := iw-$(IW_VERSION) IW_SUFFIX := tar.xz IW_URL := https://www.kernel.org/pub/software/network/iw/$(IW).$(IW_SUFFIX) IW_SOURCE := $(SRCDIR)/$(IW).$(IW_SUFFIX) IW_DIR := $(BUILDDIR)/$(IW) IW_LICENSE := ISC IW_LICENSE_FILES := \ file://COPYING;md5=878618a5c4af25e9b93ef0be1a93f774 # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- IW_CONF_TOOL := NO # ---------------------------------------------------------------------------- # Compile # ---------------------------------------------------------------------------- # use .nogit as the makefile tries to figure out a tag if it runs inside a git # repo IW_MAKE_ENV := \ $(CROSS_ENV) \ GIT_DIR="$(IW_DIR)/.nogit" \ CFLAGS="$(CROSS_CPPFLAGS) -O2 -g" # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/iw.targetinstall: @$(call targetinfo) @$(call install_init, iw) @$(call install_fixup, iw,PRIORITY,optional) @$(call install_fixup, iw,SECTION,base) @$(call install_fixup, iw,AUTHOR,"Jan Luebbe ") @$(call install_fixup, iw,DESCRIPTION,missing) @$(call install_copy, iw, 0, 0, 0755, -, /usr/sbin/iw) @$(call install_finish, iw) @$(call touch) # vim: syntax=make