Signed-off-by: Markus Pargmann <[email protected]> --- rules/liboping.in | 7 +++++++ rules/liboping.make | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 rules/liboping.in create mode 100644 rules/liboping.make
diff --git a/rules/liboping.in b/rules/liboping.in new file mode 100644 index 000000000000..b2c42cb0777b --- /dev/null +++ b/rules/liboping.in @@ -0,0 +1,7 @@ +## SECTION=networking + +config LIBOPING + tristate + prompt "liboping" + help + C library to generate ICMP requests diff --git a/rules/liboping.make b/rules/liboping.make new file mode 100644 index 000000000000..5923432869e2 --- /dev/null +++ b/rules/liboping.make @@ -0,0 +1,60 @@ +# -*-makefile-*- +# +# Copyright (C) 2014 by Markus Pargmann <[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. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_LIBOPING) += liboping + +# +# Paths and names +# +LIBOPING_VERSION := 1.6.2 +LIBOPING_MD5 := 6f3e0d38ea03362476ac3be8b3fd961e +LIBOPING := liboping-$(LIBOPING_VERSION) +LIBOPING_SUFFIX := tar.gz +LIBOPING_URL := http://verplant.org/liboping/files//$(LIBOPING).$(LIBOPING_SUFFIX) +LIBOPING_SOURCE := $(SRCDIR)/$(LIBOPING).$(LIBOPING_SUFFIX) +LIBOPING_DIR := $(BUILDDIR)/$(LIBOPING) +LIBOPING_LICENSE := LGPLv2.1+ + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +LIBOPING_CONF_TOOL := autoconf +LIBOPING_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-static \ + --without-perl-bindings + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/liboping.targetinstall: + @$(call targetinfo) + + @$(call install_init, liboping) + @$(call install_fixup, liboping,PRIORITY,optional) + @$(call install_fixup, liboping,SECTION,base) + @$(call install_fixup, liboping,AUTHOR,"Markus Pargmann <[email protected]>") + @$(call install_fixup, liboping,DESCRIPTION,missing) + + @$(call install_lib, liboping, 0, 0, 0644, liboping) + + @$(call install_finish, liboping) + + @$(call touch) + +# vim: syntax=make -- 2.0.0 -- ptxdist mailing list [email protected]
