On Fri, Jun 24, 2011 at 12:19:33PM +0100, Christian Gagneraud wrote: > Signed-off-by: Christian Gagneraud <[email protected]> > --- > rules/mobile-bb-info.in | 8 +++++ > rules/mobile-bb-info.make | 64 > +++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 72 insertions(+), 0 deletions(-) > create mode 100644 rules/mobile-bb-info.in > create mode 100644 rules/mobile-bb-info.make > > diff --git a/rules/mobile-bb-info.in b/rules/mobile-bb-info.in > new file mode 100644 > index 0000000..fcb6344 > --- /dev/null > +++ b/rules/mobile-bb-info.in > @@ -0,0 +1,8 @@ > +## SECTION=networking > + > +config MOBILE_BB_INFO > + bool > + prompt "Install mobile broadband provider info" > + help > + This package contains mobile broadband settings for different > + service providers in different countries. > \ No newline at end of file > diff --git a/rules/mobile-bb-info.make b/rules/mobile-bb-info.make > new file mode 100644 > index 0000000..bc59e46 > --- /dev/null > +++ b/rules/mobile-bb-info.make > @@ -0,0 +1,64 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2009 by Christian Gagneraud <[email protected]>
You might want to update the year here. > +# > +# 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_MOBILE_BB_INFO) += mobile-bb-info > + > +# > +# Paths and names > +# > +MOBILE_BB_INFO_NAME := mobile-broadband-provider-info > +MOBILE_BB_INFO_VERSION := 20110511 > +MOBILE_BB_INFO_MD5 := b73cc0c58bb1a97f6befa777fc2fd576 > +MOBILE_BB_INFO := > $(MOBILE_BB_INFO_NAME)-$(MOBILE_BB_INFO_VERSION) > +MOBILE_BB_INFO_SUFFIX := tar.bz2 > +MOBILE_BB_INFO_URL1 := > http://ftp.acc.umu.se/pub/gnome/sources/mobile-broadband-provider-info/$(MOBILE_BB_INFO_VERSION) > +MOBILE_BB_INFO_URL := > $(MOBILE_BB_INFO_URL1)/$(MOBILE_BB_INFO_NAME)-$(MOBILE_BB_INFO_VERSION).$(MOBILE_BB_INFO_SUFFIX) > +MOBILE_BB_INFO_SOURCE := > $(SRCDIR)/$(MOBILE_BB_INFO).$(MOBILE_BB_INFO_SUFFIX) > +MOBILE_BB_INFO_DIR := $(BUILDDIR)/$(MOBILE_BB_INFO) > +MOBILE_BB_INFO_LICENSE := ??? > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +MOBILE_BB_INFO_CONF_TOOL := autoconf > +MOBILE_BB_INFO_CONF_OPT += $(CROSS_AUTOCONF_USR) remove this line. > + > +# > ---------------------------------------------------------------------------- > +# Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/mobile-bb-info.install: > + @$(call targetinfo) > + @$(call world/install, MOBILE_BB_INFO) > + @$(call touch) remove. > + > +# > ---------------------------------------------------------------------------- > +# Target-Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/mobile-bb-info.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, mobile-broadband-provider-info) > + @$(call install_fixup, mobile-broadband-provider-info,PRIORITY,optional) > + @$(call install_fixup, mobile-broadband-provider-info,SECTION,base) > + @$(call install_fixup, mobile-broadband-provider-info,AUTHOR,"Christian > Gagneraud <[email protected]>") > + @$(call install_fixup, mobile-broadband-provider-info,DESCRIPTION,WiMAX > tools and librairies) > + > + @$(call install_copy, mobile-broadband-provider-info, 0, 0, 0644, -, > /usr/share/mobile-broadband-provider-info/serviceproviders.xml) break. Michael > + > + @$(call install_finish, mobile-broadband-provider-info) > + > + @$(call touch) > + > -- > 1.7.4.1 > > > -- > ptxdist mailing list > [email protected] > -- 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 [email protected]
