On Fri, Jun 24, 2011 at 12:19:30PM +0100, Christian Gagneraud wrote: > Signed-off-by: Christian Gagneraud <ch...@techworks.ie> > --- > rules/wimax-tools.in | 8 +++++ > rules/wimax-tools.make | 75 > ++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 83 insertions(+), 0 deletions(-) > create mode 100644 rules/wimax-tools.in > create mode 100644 rules/wimax-tools.make > > diff --git a/rules/wimax-tools.in b/rules/wimax-tools.in > new file mode 100644 > index 0000000..e9a7f05 > --- /dev/null > +++ b/rules/wimax-tools.in > @@ -0,0 +1,8 @@ > +config WIMAX_TOOLS > + bool > + select GLIB > + select LIBNL > + select KERNEL > + prompt "WiMAX libs" > + help > + WiMAX tools and libraries > diff --git a/rules/wimax-tools.make b/rules/wimax-tools.make > new file mode 100644 > index 0000000..997c96b > --- /dev/null > +++ b/rules/wimax-tools.make > @@ -0,0 +1,75 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2009 by Christian Gagneraud <chg...@gna.org> > +# > +# 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_WIMAX_TOOLS) += wimax-tools > + > +# > +# Paths and names > +# > +WIMAX_TOOLS_NAME := wimax-tools > +WIMAX_TOOLS_VERSION := 1.4.5 > +WIMAX_TOOLS_MD5 := db63d6c239c2e7a1a3a09921988f5a29 > +WIMAX_TOOLS := $(WIMAX_TOOLS_NAME)-$(WIMAX_TOOLS_VERSION) > +WIMAX_TOOLS_SUFFIX := tar.gz > +WIMAX_TOOLS_URL := > http://www.linuxwimax.org/Download\?action=AttachFile\&do=get\&target=$(WIMAX_TOOLS).$(WIMAX_TOOLS_SUFFIX) > +WIMAX_TOOLS_SOURCE := $(SRCDIR)/$(WIMAX_TOOLS).$(WIMAX_TOOLS_SUFFIX) > +WIMAX_TOOLS_DIR := $(BUILDDIR)/$(WIMAX_TOOLS) > +WIMAX_TOOLS_LICENSE := BSD > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +WIMAX_TOOLS_CONF_TOOL := autoconf > +WIMAX_TOOLS_CONF_OPT += \ > + $(CROSS_AUTOCONF_USR) \ > + --with-linux=$(KERNEL_HEADERS_DIR) \ > + ac_cv_file_$(shell echo $(KERNEL_HEADERS_DIR)/include/linux/wimax.h | > tr '/.+-' '_')=yes
ac_cv_file_$(call tr_sh,$(KERNEL_HEADERS_DIR)/include/linux/wimax.h)=yes Defined in rules/other/Definitions.make > + > +# > ---------------------------------------------------------------------------- > +# Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/wimax-tools.install: > + @$(call targetinfo) > + @$(call world/install, WIMAX_TOOLS) > + @$(call touch) Remove. > + > +# > ---------------------------------------------------------------------------- > +# Target-Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/wimax-tools.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, wimax-tools) > + @$(call install_fixup, wimax-tools,PRIORITY,optional) > + @$(call install_fixup, wimax-tools,SECTION,base) > + @$(call install_fixup, wimax-tools,AUTHOR,"Christian Gagneraud > <chg...@gna.org>") > + @$(call install_fixup, wimax-tools,DESCRIPTION,WiMAX tools and > librairies) > + > + @$(call install_copy, wimax-tools, 0, 0, 0755, -, /usr/bin/wimaxll) > + @$(call install_copy, wimax-tools, 0, 0, 0755, -, > /usr/bin/wimaxll-reset) > + @$(call install_copy, wimax-tools, 0, 0, 0755, -, > /usr/bin/wimaxll-rfkill) @$(call install_copy, wimax-tools, 0, 0, 0755, -, \ /usr/bin/wimaxll-wait-for-state-change) > + @$(call install_lib, wimax-tools, 0, 0, 0755, libwimaxll-i2400m) > + @$(call install_lib, wimax-tools, 0, 0, 0755, libwimaxll) > + @$(call install_lib, wimax-tools, 0, 0, 0755, > wimax-tools/plugins/wimaxll-pl-reset) > + @$(call install_lib, wimax-tools, 0, 0, 0755, > wimax-tools/plugins/wimaxll-pl-rfkill) > + @$(call install_lib, wimax-tools, 0, 0, 0755, > wimax-tools/plugins/wimaxll-pl-state-get) > + @$(call install_lib, wimax-tools, 0, 0, 0755, > wimax-tools/plugins/wimaxll-pl-wfsc) break these lines as well, and use 0644 permissions for libs. Michael > + > + @$(call install_finish, wimax-tools) > + > + @$(call touch) > + > -- > 1.7.4.1 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de