From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from snt0-omc4-s5.snt0.hotmail.com ([65.55.90.208]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SUfHL-0007tI-7R for ptxdist@pengutronix.de; Wed, 16 May 2012 16:32:41 +0200 Message-ID: Content-Type: multipart/mixed; boundary="_adb121f3-35b4-4800-a4ca-cd9bfd59dfed_" From: barhoumi mohtadi Date: Wed, 16 May 2012 15:32:31 +0100 MIME-Version: 1.0 Subject: [ptxdist] My first Contribution! libpphidget rules :D Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --_adb121f3-35b4-4800-a4ca-cd9bfd59dfed_ Content-Type: multipart/alternative; boundary="_de8af13f-406c-4fe7-b248-afcf47cf1f75_" --_de8af13f-406c-4fe7-b248-afcf47cf1f75_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Well=2C libphidget provides a set of "plug and play" building blocks for lo= w cost USB sensing and control from your PC. I've needed it to recognize and work with an acceleromter i'm testing. Just providing it in case someone else need it :D Thanks for your remarks and suggestions! Mohtadi=2C libphiget.make # -*-makefile-*- # # Copyright (C) 2012 by Mohtadi Barhoumi # # 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_LIBPHIDGET) +=3D libphidget # # Paths and names # LIBPHIDGET_VERSION :=3D 2.1.8.20120514 LIBPHIDGET_MD5 :=3D LIBPHIDGET :=3D libphidget_$(LIBPHIDGET_VERSION) LIBPHIDGET_SUFFIX :=3D tar.gz LIBPHIDGET_URL :=3D http://www.phidgets.com/downloads/libraries/$(LI= BPHIDGET).$(LIBPHIDGET_SUFFIX) LIBPHIDGET_SOURCE :=3D $(SRCDIR)/$(LIBPHIDGET).$(LIBPHIDGET_SUFFIX) LIBPHIDGET_DIR :=3D $(BUILDDIR)/$(LIBPHIDGET) LIBPHIDGET_LICENSE :=3D unknown # -------------------------------------------------------------------------= --- # Get # -------------------------------------------------------------------------= --- #$(LIBPHIDGET_SOURCE): # @$(call targetinfo) # @$(call get=2C LIBPHIDGET) # -------------------------------------------------------------------------= --- # Prepare # -------------------------------------------------------------------------= --- #LIBPHIDGET_CONF_ENV :=3D $(CROSS_ENV) # # autoconf # LIBPHIDGET_CONF_TOOL :=3D autoconf #LIBPHIDGET_CONF_OPT :=3D $(CROSS_AUTOCONF_USR) #$(STATEDIR)/libphidget.prepare: # @$(call targetinfo) # @$(call clean=2C $(LIBPHIDGET_DIR)/config.cache) # cd $(LIBPHIDGET_DIR) && \ # $(LIBPHIDGET_PATH) $(LIBPHIDGET_ENV) \ # ./configure $(LIBPHIDGET_CONF_OPT) # @$(call touch) # -------------------------------------------------------------------------= --- # Compile # -------------------------------------------------------------------------= --- #$(STATEDIR)/libphidget.compile: # @$(call targetinfo) # @$(call world/compile=2C LIBPHIDGET) # @$(call touch) # -------------------------------------------------------------------------= --- # Install # -------------------------------------------------------------------------= --- #$(STATEDIR)/libphidget.install: # @$(call targetinfo) # @$(call world/install=2C LIBPHIDGET) # @$(call touch) # -------------------------------------------------------------------------= --- # Target-Install # -------------------------------------------------------------------------= --- $(STATEDIR)/libphidget.targetinstall: @$(call targetinfo) @$(call install_init=2C libphidget) @$(call install_fixup=2C libphidget=2CPRIORITY=2Coptional) @$(call install_fixup=2C libphidget=2CSECTION=2Cbase) @$(call install_fixup=2C libphidget=2CAUTHOR=2C"Mohtadi Barhoumi ") @$(call install_fixup=2C libphidget=2CDESCRIPTION=2C) @$(call install_lib=2C libphidget=2C 0=2C 0=2C 0644=2C libphidget21) @$(call install_finish=2C libphidget) @$(call touch) # -------------------------------------------------------------------------= --- # Clean # -------------------------------------------------------------------------= --- #$(STATEDIR)/libphidget.clean: # @$(call targetinfo) # @$(call clean_pkg=2C LIBPHIDGET) # vim: syntax=3Dmake libphidget.in ## SECTION=3Dsystem_libraries config LIBPHIDGET tristate prompt "libphidget" help Phidgets are a set of plug and play building blocks for low=20 cost USB sensing and control from your PC. = --_de8af13f-406c-4fe7-b248-afcf47cf1f75_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Well=2C libphidget provides a set of "plug and play" building blocks for lo= w cost USB sensing and control from your PC.
I've needed it to recognize= and work with an acceleromter i'm testing.
Just providing it in case so= meone else need it :D

Thanks for your remarks and suggestions!
Mohtadi=2C

libphiget.make

# -*-makefile-*-
#
#= Copyright (C) 2012 by Mohtadi Barhoumi <=3Bmohtadi.barhoumi@univ-reims.f= r>=3B
#
# See CREDITS for details about who has contributed to this= project.
#
# For further information about the PTXdist project and l= icense conditions
# see the README file.
#

#
# We provide t= his package
#
PACKAGES-$(PTXCONF_LIBPHIDGET) +=3D libphidget

#=
# Paths and names
#
LIBPHIDGET_VERSION =3B =3B =3B := =3D 2.1.8.20120514
LIBPHIDGET_MD5 =3B =3B =3B  =3B = =3B =3B :=3D
LIBPHIDGET =3B =3B =3B  =3B =3B&nbs= p=3B :=3D libphidget_$(LIBPHIDGET_VERSION)
LIBPHIDGET_SUFFIX =3B&nbs= p=3B =3B :=3D tar.gz
LIBPHIDGET_URL =3B =3B =3B  =3B=  =3B =3B :=3D http://www.phidgets.com/downloads/libraries/$(LIBPHID= GET).$(LIBPHIDGET_SUFFIX)
LIBPHIDGET_SOURCE =3B =3B =3B :=3D= $(SRCDIR)/$(LIBPHIDGET).$(LIBPHIDGET_SUFFIX)
LIBPHIDGET_DIR =3B&nbs= p=3B =3B  =3B =3B =3B :=3D $(BUILDDIR)/$(LIBPHIDGET)
LIB= PHIDGET_LICENSE =3B =3B =3B :=3D unknown

# -------------= ---------------------------------------------------------------
# Get# ------------------------------------------------------------------------= ----

#$(LIBPHIDGET_SOURCE):
# =3B =3B =3B @$(call tar= getinfo)
# =3B =3B =3B @$(call get=2C LIBPHIDGET)

# -= ---------------------------------------------------------------------------=
# Prepare
# --------------------------------------------------------= --------------------

#LIBPHIDGET_CONF_ENV =3B =3B =3B := =3D $(CROSS_ENV)

#
# autoconf
#
LIBPHIDGET_CONF_TOOL = =3B =3B =3B :=3D autoconf
#LIBPHIDGET_CONF_OPT =3B =3B&n= bsp=3B :=3D $(CROSS_AUTOCONF_USR)

#$(STATEDIR)/libphidget.prepare:# =3B =3B =3B @$(call targetinfo)
# =3B =3B = =3B @$(call clean=2C $(LIBPHIDGET_DIR)/config.cache)
# =3B =3B&n= bsp=3B cd $(LIBPHIDGET_DIR) &=3B&=3B \
# =3B =3B =3B &= nbsp=3B =3B =3B $(LIBPHIDGET_PATH) $(LIBPHIDGET_ENV) \
# =3B=  =3B =3B  =3B =3B =3B ./configure $(LIBPHIDGET_CONF_OPT= )
# =3B =3B =3B @$(call touch)

# --------------------= --------------------------------------------------------
# Compile
# = ---------------------------------------------------------------------------= -

#$(STATEDIR)/libphidget.compile:
# =3B =3B =3B @$(c= all targetinfo)
# =3B =3B =3B @$(call world/compile=2C LIBPH= IDGET)
# =3B =3B =3B @$(call touch)

# ---------------= -------------------------------------------------------------
# Install<= br># ----------------------------------------------------------------------= ------

#$(STATEDIR)/libphidget.install:
# =3B =3B =3B= @$(call targetinfo)
# =3B =3B =3B @$(call world/install=2C = LIBPHIDGET)
# =3B =3B =3B @$(call touch)

# ----------= ------------------------------------------------------------------
# Tar= get-Install
# ----------------------------------------------------------= ------------------

$(STATEDIR)/libphidget.targetinstall:
 =3B=  =3B =3B @$(call targetinfo)

 =3B =3B =3B @$(cal= l install_init=2C libphidget)
 =3B =3B =3B @$(call install_f= ixup=2C libphidget=2CPRIORITY=2Coptional)
 =3B =3B =3B @$(ca= ll install_fixup=2C libphidget=2CSECTION=2Cbase)
 =3B =3B = =3B @$(call install_fixup=2C libphidget=2CAUTHOR=2C"Mohtadi Barhoumi <=3B= mohtadi.barhoumi@univ-reims.fr>=3B")
 =3B =3B =3B @$(call = install_fixup=2C libphidget=2CDESCRIPTION=2C)

 =3B =3B = =3B @$(call install_lib=2C libphidget=2C 0=2C 0=2C 0644=2C libphidget21)
 =3B =3B =3B @$(call install_finish=2C libphidget)

=  =3B =3B =3B @$(call touch)

# --------------------------= --------------------------------------------------
# Clean
# --------= --------------------------------------------------------------------
#$(STATEDIR)/libphidget.clean:
# =3B =3B =3B @$(call target= info)
# =3B =3B =3B @$(call clean_pkg=2C LIBPHIDGET)

= # vim: syntax=3Dmake





libphidget.in

## = SECTION=3Dsystem_libraries

config LIBPHIDGET
 =3B =3B&nbs= p=3B tristate
 =3B =3B =3B prompt "libphidget"
 =3B&n= bsp=3B =3B help
 =3B =3B =3B  =3B Phidgets are a set= of plug and play building blocks for low
 =3B =3B =3B &nbs= p=3B cost USB sensing and control from your PC.
= --_de8af13f-406c-4fe7-b248-afcf47cf1f75_-- --_adb121f3-35b4-4800-a4ca-cd9bfd59dfed_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="libphidget.in" IyMgU0VDVElPTj1zeXN0ZW1fbGlicmFyaWVzCgpjb25maWcgTElCUEhJREdFVAoJdHJpc3RhdGUK CXByb21wdCAibGlicGhpZGdldCIKCWhlbHAKCSAgUGhpZGdldHMgYXJlIGEgc2V0IG9mIHBsdWcg YW5kIHBsYXkgYnVpbGRpbmcgYmxvY2tzIGZvciBsb3cgCgkgIGNvc3QgVVNCIHNlbnNpbmcgYW5k IGNvbnRyb2wgZnJvbSB5b3VyIFBDLgo= --_adb121f3-35b4-4800-a4ca-cd9bfd59dfed_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="libphidget.make" IyAtKi1tYWtlZmlsZS0qLQojCiMgQ29weXJpZ2h0IChDKSAyMDEyIGJ5IE1vaHRhZGkgQmFyaG91 bWkgPG1vaHRhZGkuYmFyaG91bWlAdW5pdi1yZWltcy5mcj4KIwojIFNlZSBDUkVESVRTIGZvciBk ZXRhaWxzIGFib3V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QCQoY2FsbCBpbnN0YWxsX2ZpeHVwLCBsaWJwaGlk Z2V0LERFU0NSSVBUSU9OLCkKCglAJChjYWxsIGluc3RhbGxfbGliLCBsaWJwaGlkZ2V0LCAwLCAw LCAwNjQ0LCBsaWJwaGlkZ2V0MjEpCgoJQCQoY2FsbCBpbnN0YWxsX2ZpbmlzaCwgbGlicGhpZGdl dCkKCglAJChjYWxsIHRvdWNoKQoKIyAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCiMgQ2xlYW4KIyAtLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tCgojJChTVEFURURJUikvbGlicGhpZGdldC5jbGVhbjoKIwlAJChjYWxs IHRhcmdldGluZm8pCiMJQCQoY2FsbCBjbGVhbl9wa2csIExJQlBISURHRVQpCgojIHZpbTogc3lu dGF4PW1ha2UK --_adb121f3-35b4-4800-a4ca-cd9bfd59dfed_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --_adb121f3-35b4-4800-a4ca-cd9bfd59dfed_--