From da52913706f17fdd948fbfd5655de10f504cb92b Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Tue, 21 Jul 2015 09:40:26 +0200 Subject: libgudev: new package libgudev is now distributed separately and no longer a part of systemd/udev. Signed-off-by: Michael Olbrich --- rules/libgudev.make | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 rules/libgudev.make (limited to 'rules/libgudev.make') diff --git a/rules/libgudev.make b/rules/libgudev.make new file mode 100644 index 000000000..67de82ec5 --- /dev/null +++ b/rules/libgudev.make @@ -0,0 +1,63 @@ +# -*-makefile-*- +# +# Copyright (C) 2015 by Michael Olbrich +# +# 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_LIBGUDEV) += libgudev + +# +# Paths and names +# +LIBGUDEV_VERSION := 230 +LIBGUDEV_MD5 := e4dee8f3f349e9372213d33887819a4d +LIBGUDEV := libgudev-$(LIBGUDEV_VERSION) +LIBGUDEV_SUFFIX := tar.xz +LIBGUDEV_URL := https://download.gnome.org/sources/libgudev/$(LIBGUDEV_VERSION)/$(LIBGUDEV).$(LIBGUDEV_SUFFIX) +LIBGUDEV_SOURCE := $(SRCDIR)/$(LIBGUDEV).$(LIBGUDEV_SUFFIX) +LIBGUDEV_DIR := $(BUILDDIR)/$(LIBGUDEV) +LIBGUDEV_LICENSE := LGPLv2.1+ + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +LIBGUDEV_CONF_TOOL := autoconf +LIBGUDEV_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-gtk-doc-pdf \ + --disable-introspection + + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libgudev.targetinstall: + @$(call targetinfo) + + @$(call install_init, libgudev) + @$(call install_fixup, libgudev,PRIORITY,optional) + @$(call install_fixup, libgudev,SECTION,base) + @$(call install_fixup, libgudev,AUTHOR,"Michael Olbrich ") + @$(call install_fixup, libgudev,DESCRIPTION,missing) + + @$(call install_lib, libgudev, 0, 0, 0644, libgudev-1.0) + + @$(call install_finish, libgudev) + + @$(call touch) + +# vim: syntax=make -- cgit v1.2.3