mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] My first Contribution! libpphidget rules :D
@ 2012-05-16 14:32 barhoumi mohtadi
  2012-05-16 17:58 ` Juergen Beisert
  2012-05-31  9:30 ` [ptxdist] Correction : libpphidget ( with options and dependencies) barhoumi mohtadi
  0 siblings, 2 replies; 5+ messages in thread
From: barhoumi mohtadi @ 2012-05-16 14:32 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 3776 bytes --]


Well, libphidget provides a set of "plug and play" building blocks for low 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,

libphiget.make

# -*-makefile-*-
#
# Copyright (C) 2012 by Mohtadi Barhoumi <mohtadi.barhoumi@univ-reims.fr>
#
# 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) += libphidget

#
# Paths and names
#
LIBPHIDGET_VERSION    := 2.1.8.20120514
LIBPHIDGET_MD5        :=
LIBPHIDGET        := libphidget_$(LIBPHIDGET_VERSION)
LIBPHIDGET_SUFFIX    := tar.gz
LIBPHIDGET_URL        := http://www.phidgets.com/downloads/libraries/$(LIBPHIDGET).$(LIBPHIDGET_SUFFIX)
LIBPHIDGET_SOURCE    := $(SRCDIR)/$(LIBPHIDGET).$(LIBPHIDGET_SUFFIX)
LIBPHIDGET_DIR        := $(BUILDDIR)/$(LIBPHIDGET)
LIBPHIDGET_LICENSE    := unknown

# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------

#$(LIBPHIDGET_SOURCE):
#    @$(call targetinfo)
#    @$(call get, LIBPHIDGET)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#LIBPHIDGET_CONF_ENV    := $(CROSS_ENV)

#
# autoconf
#
LIBPHIDGET_CONF_TOOL    := autoconf
#LIBPHIDGET_CONF_OPT    := $(CROSS_AUTOCONF_USR)

#$(STATEDIR)/libphidget.prepare:
#    @$(call targetinfo)
#    @$(call clean, $(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, LIBPHIDGET)
#    @$(call touch)

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

#$(STATEDIR)/libphidget.install:
#    @$(call targetinfo)
#    @$(call world/install, LIBPHIDGET)
#    @$(call touch)

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

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

    @$(call install_init, libphidget)
    @$(call install_fixup, libphidget,PRIORITY,optional)
    @$(call install_fixup, libphidget,SECTION,base)
    @$(call install_fixup, libphidget,AUTHOR,"Mohtadi Barhoumi <mohtadi.barhoumi@univ-reims.fr>")
    @$(call install_fixup, libphidget,DESCRIPTION,)

    @$(call install_lib, libphidget, 0, 0, 0644, libphidget21)

    @$(call install_finish, libphidget)

    @$(call touch)

# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------

#$(STATEDIR)/libphidget.clean:
#    @$(call targetinfo)
#    @$(call clean_pkg, LIBPHIDGET)

# vim: syntax=make





libphidget.in

## SECTION=system_libraries

config LIBPHIDGET
    tristate
    prompt "libphidget"
    help
      Phidgets are a set of plug and play building blocks for low 
      cost USB sensing and control from your PC.
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 4993 bytes --]

[-- Attachment #2: libphidget.in --]
[-- Type: application/octet-stream, Size: 194 bytes --]

## SECTION=system_libraries

config LIBPHIDGET
	tristate
	prompt "libphidget"
	help
	  Phidgets are a set of plug and play building blocks for low 
	  cost USB sensing and control from your PC.

[-- Attachment #3: libphidget.make --]
[-- Type: application/octet-stream, Size: 2973 bytes --]

# -*-makefile-*-
#
# Copyright (C) 2012 by Mohtadi Barhoumi <mohtadi.barhoumi@univ-reims.fr>
#
# 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) += libphidget

#
# Paths and names
#
LIBPHIDGET_VERSION	:= 2.1.8.20120514
LIBPHIDGET_MD5		:=
LIBPHIDGET		:= libphidget_$(LIBPHIDGET_VERSION)
LIBPHIDGET_SUFFIX	:= tar.gz
LIBPHIDGET_URL		:= http://www.phidgets.com/downloads/libraries/$(LIBPHIDGET).$(LIBPHIDGET_SUFFIX)
LIBPHIDGET_SOURCE	:= $(SRCDIR)/$(LIBPHIDGET).$(LIBPHIDGET_SUFFIX)
LIBPHIDGET_DIR		:= $(BUILDDIR)/$(LIBPHIDGET)
LIBPHIDGET_LICENSE	:= unknown

# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------

#$(LIBPHIDGET_SOURCE):
#	@$(call targetinfo)
#	@$(call get, LIBPHIDGET)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#LIBPHIDGET_CONF_ENV	:= $(CROSS_ENV)

#
# autoconf
#
LIBPHIDGET_CONF_TOOL	:= autoconf
#LIBPHIDGET_CONF_OPT	:= $(CROSS_AUTOCONF_USR)

#$(STATEDIR)/libphidget.prepare:
#	@$(call targetinfo)
#	@$(call clean, $(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, LIBPHIDGET)
#	@$(call touch)

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

#$(STATEDIR)/libphidget.install:
#	@$(call targetinfo)
#	@$(call world/install, LIBPHIDGET)
#	@$(call touch)

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

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

	@$(call install_init, libphidget)
	@$(call install_fixup, libphidget,PRIORITY,optional)
	@$(call install_fixup, libphidget,SECTION,base)
	@$(call install_fixup, libphidget,AUTHOR,"Mohtadi Barhoumi <mohtadi.barhoumi@univ-reims.fr>")
	@$(call install_fixup, libphidget,DESCRIPTION,)

	@$(call install_lib, libphidget, 0, 0, 0644, libphidget21)

	@$(call install_finish, libphidget)

	@$(call touch)

# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------

#$(STATEDIR)/libphidget.clean:
#	@$(call targetinfo)
#	@$(call clean_pkg, LIBPHIDGET)

# vim: syntax=make

[-- Attachment #4: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-06 10:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-16 14:32 [ptxdist] My first Contribution! libpphidget rules :D barhoumi mohtadi
2012-05-16 17:58 ` Juergen Beisert
2012-05-16 22:11   ` barhoumi mohtadi
2012-05-31  9:30 ` [ptxdist] Correction : libpphidget ( with options and dependencies) barhoumi mohtadi
2012-06-06 10:54   ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox