diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-01-07 19:33:27 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-01-07 19:33:27 +0000 |
commit | d1ce813d5a719cbb5df80d73b00a733c2c1ce54e (patch) | |
tree | 645f55f70d531b8dd0c595a5ba1be5417ee28c09 | |
parent | b9bb363e784f0932d63ea9207a257ae1465c0654 (diff) | |
download | ptxdist-d1ce813d5a719cbb5df80d73b00a733c2c1ce54e.tar.gz ptxdist-d1ce813d5a719cbb5df80d73b00a733c2c1ce54e.tar.xz |
* sjinn: added; patch by Tom St
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7694 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | rules/Kconfig | 1 | ||||
-rw-r--r-- | rules/screen.make | 2 | ||||
-rw-r--r-- | rules/sjinn.in | 4 | ||||
-rw-r--r-- | rules/sjinn.make | 127 |
5 files changed, 137 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2008-01-06 Robert Schwebel <r.schwebel@pengutronix.de> + + * sjinn: added; patch by Tom St + 2008-01-01 Robert Schwebel <r.schwebel@pengutronix.de> * nfsutils: removed obsolete patches for nfsutils 1.0.1; we diff --git a/rules/Kconfig b/rules/Kconfig index f11c60ace..523af105b 100644 --- a/rules/Kconfig +++ b/rules/Kconfig @@ -123,6 +123,7 @@ source "rules/efax.in" source "rules/lrzsz.in" source "rules/mgetty.in" source "rules/pop3spam.in" +source "rules/sjinn.in" source "rules/smtpclient.in" source "rules/ssmtp.in" endmenu diff --git a/rules/screen.make b/rules/screen.make index db8960bdd..0d48f4e5d 100644 --- a/rules/screen.make +++ b/rules/screen.make @@ -2,7 +2,7 @@ # $Id: template 6001 2006-08-12 10:15:00Z mkl $ # # Copyright (C) 2006 by Sascha Hauer -# +# # See CREDITS for details about who has contributed to this project. # # For further information about the PTXdist project and license conditions diff --git a/rules/sjinn.in b/rules/sjinn.in new file mode 100644 index 000000000..17297d32c --- /dev/null +++ b/rules/sjinn.in @@ -0,0 +1,4 @@ +config SJINN + bool "SJINN" + help + rs232 comm tool diff --git a/rules/sjinn.make b/rules/sjinn.make new file mode 100644 index 000000000..cb2c3fc25 --- /dev/null +++ b/rules/sjinn.make @@ -0,0 +1,127 @@ +# -*-makefile-*- +# $Id$ +# +# Copyright (C) 2007 by Tom St +# +# 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_SJINN) += sjinn + +# +# Paths and names +# +SJINN_VERSION := 1.01 +SJINN := sjinn-$(SJINN_VERSION) +SJINN_SUFFIX := tar.gz +SJINN_URL := http://downloads.sourceforge.net/sjinn/$(SJINN).$(SJINN_SUFFIX) +SJINN_SOURCE := $(SRCDIR)/$(SJINN).$(SJINN_SUFFIX) +SJINN_DIR := $(BUILDDIR)/$(SJINN) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +sjinn_get: $(STATEDIR)/sjinn.get + +$(STATEDIR)/sjinn.get: $(sjinn_get_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +$(SJINN_SOURCE): + @$(call targetinfo, $@) + @$(call get, SJINN) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +sjinn_extract: $(STATEDIR)/sjinn.extract + +$(STATEDIR)/sjinn.extract: $(sjinn_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(SJINN_DIR)) + @$(call extract, SJINN) + mv $(BUILDDIR)/sjinn $(BUILDDIR)/$(SJINN) + @$(call patchin, SJINN) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +sjinn_prepare: $(STATEDIR)/sjinn.prepare + +SJINN_PATH := PATH=$(CROSS_PATH) +SJINN_ENV := $(CROSS_ENV) + +# +# autoconf +# +SJINN_AUTOCONF = $(CROSS_AUTOCONF_USR) + +$(STATEDIR)/sjinn.prepare: $(sjinn_prepare_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +sjinn_compile: $(STATEDIR)/sjinn.compile + +$(STATEDIR)/sjinn.compile: $(sjinn_compile_deps_default) + @$(call targetinfo, $@) + cd $(SJINN_DIR) && $(SJINN_PATH) $(SJINN_ENV) make CC=$(CROSS_CC) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +sjinn_install: $(STATEDIR)/sjinn.install + +$(STATEDIR)/sjinn.install: $(sjinn_install_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +sjinn_targetinstall: $(STATEDIR)/sjinn.targetinstall + +$(STATEDIR)/sjinn.targetinstall: $(sjinn_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init, sjinn) + @$(call install_fixup,sjinn,PACKAGE,sjinn) + @$(call install_fixup,sjinn,PRIORITY,optional) + @$(call install_fixup,sjinn,VERSION,$(SJINN_VERSION)) + @$(call install_fixup,sjinn,SECTION,base) + @$(call install_fixup,sjinn,AUTHOR,"Tom St") + @$(call install_fixup,sjinn,DEPENDS,) + @$(call install_fixup,sjinn,DESCRIPTION,missing) + + @$(call install_copy, sjinn, 0, 0, 0755, $(SJINN_DIR)/rs232, /usr/bin/rs232) + + @$(call install_finish,sjinn) + + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +sjinn_clean: + rm -rf $(STATEDIR)/sjinn.* + rm -rf $(IMAGEDIR)/sjinn_* + rm -rf $(SJINN_DIR) + +# vim: syntax=make |