Markus Rathgeb wrote: > Hello! > > I created a few rules for packages that are not available yet. > Is it possible to send the rules as attachment? > > It could be simpler than a patch against "null".
please send patches next time or a pull request next time, it's mutch simpler to integrate them into git that way. Please add a Signed-off-by, too. Can I have your S-o-b for cleaned up and patchified version of your original files? cheers, Marc P.S.: I'll look at the other patches as soon as my time permits. From 852b7dc28e411daf55b36d3ad0b4167fbe588378 Mon Sep 17 00:00:00 2001 From: Markus Rathgeb <[email protected]> Date: Mon, 17 Aug 2009 13:08:20 +0200 Subject: [PATCH] [gpm] mouse pointer for console etc - new packet Signed-off-missing: Markus Rathgeb <[email protected]> [mkl: - generic cleanups - removed obsolete targets (extract, prepare, compile, install) - fixed URL - install libs 0644 - use "-" as source in $(call install) ] Signed-off-by: Marc Kleine-Budde <[email protected]> --- rules/gpm.in | 8 +++++ rules/gpm.make | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+), 0 deletions(-) create mode 100644 rules/gpm.in create mode 100644 rules/gpm.make diff --git a/rules/gpm.in b/rules/gpm.in new file mode 100644 index 0000000..b81ba19 --- /dev/null +++ b/rules/gpm.in @@ -0,0 +1,8 @@ +## SECTION=system_libraries + +config GPM + tristate + prompt "gpm" + select NCURSES + help + Console-based mouse driver diff --git a/rules/gpm.make b/rules/gpm.make new file mode 100644 index 0000000..88d07a7 --- /dev/null +++ b/rules/gpm.make @@ -0,0 +1,81 @@ +# -*-makefile-*- +# +# Copyright (C) 2009 by Markus Rathgeb <[email protected]> +# +# 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. +# + +PACKAGES-$(PTXCONF_GPM) += gpm + +# +# Paths and names +# +GPM_VERSION := 1.20.6 +GPM := gpm-$(GPM_VERSION) +GPM_SUFFIX := tar.bz2 +GPM_URL := http://unix.schottelius.org/gpm/archives/$(GPM).$(GPM_SUFFIX) +GPM_SOURCE := $(SRCDIR)/$(GPM).$(GPM_SUFFIX) +GPM_DIR := $(BUILDDIR)/$(GPM) +GPM_LICENSE := GPLv2+ + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(GPM_SOURCE): + @$(call targetinfo) + @$(call get, GPM) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- +GPM_PATH := PATH=$(CROSS_PATH) +GPM_ENV := $(CROSS_ENV) + +# +# autoconf +# +GPM_AUTOCONF := $(CROSS_AUTOCONF_USR) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/gpm.targetinstall: + @$(call targetinfo) + + @$(call install_init, gpm) + @$(call install_fixup, gpm,PACKAGE,gpm) + @$(call install_fixup, gpm,PRIORITY,optional) + @$(call install_fixup, gpm,VERSION,$(GPM_VERSION)) + @$(call install_fixup, gpm,SECTION,base) + @$(call install_fixup, gpm,AUTHOR,"Markus Rathgeb <[email protected]>") + @$(call install_fixup, gpm,DEPENDS,) + @$(call install_fixup, gpm,DESCRIPTION,missing) + + @$(call install_copy, gpm, 0, 0, 0644, -, \ + /usr/lib/libgpm.so.2.1.0) + @$(call install_link, gpm, libgpm.so.2.1.0, /usr/lib/libgpm.so.2) + @$(call install_link, gpm, libgpm.so.2, /usr/lib/libgpm.so) + + + @$(call install_copy, gpm, 0, 0, 0755, -, \ + /usr/sbin/gpm) + + @$(call install_finish, gpm) + + @$(call touch) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +gpm_clean: + rm -rf $(STATEDIR)/gpm.* + rm -rf $(PKGDIR)/gpm_* + rm -rf $(GPM_DIR) + +# vim: syntax=make -- 1.6.3.3 -- Pengutronix e.K. | Marc Kleine-Budde | Linux Solutions for Science and Industry | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
