summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/host-acl.in10
-rw-r--r--rules/host-acl.make60
-rw-r--r--rules/host-libacl.in5
3 files changed, 70 insertions, 5 deletions
diff --git a/rules/host-acl.in b/rules/host-acl.in
new file mode 100644
index 000000000..7b7048f56
--- /dev/null
+++ b/rules/host-acl.in
@@ -0,0 +1,10 @@
+## SECTION=hosttools_noprompt
+
+config HOST_ACL
+ tristate
+ select HOST_ATTR
+ help
+ Access control list utilities
+
+ This package contains the getfacl and setfacl utilities
+ needed for manipulating access control lists.
diff --git a/rules/host-acl.make b/rules/host-acl.make
new file mode 100644
index 000000000..3e8f3764b
--- /dev/null
+++ b/rules/host-acl.make
@@ -0,0 +1,60 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2009 by Carsten Schlote <c.schlote@konzeptpark.de>
+#
+# 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
+#
+HOST_PACKAGES-$(PTXCONF_HOST_ACL) += host-acl
+
+#
+# Paths and names
+#
+HOST_ACL_DIR = $(HOST_BUILDDIR)/$(ACL)
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-acl.get: $(STATEDIR)/acl.get
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-acl.extract:
+ @$(call targetinfo)
+ @$(call clean, $(HOST_ACL_DIR))
+ @$(call extract, ACL, $(HOST_BUILDDIR))
+ @$(call patchin, ACL, $(HOST_ACL_DIR))
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_ACL_PATH := PATH=$(HOST_PATH)
+HOST_ACL_ENV := $(HOST_ENV)
+
+#
+# autoconf
+#
+HOST_ACL_AUTOCONF := $(HOST_AUTOCONF)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+host-acl_clean:
+ rm -rf $(STATEDIR)/host-acl.*
+ rm -rf $(HOST_ACL_DIR)
+
+# vim: syntax=make
diff --git a/rules/host-libacl.in b/rules/host-libacl.in
deleted file mode 100644
index 8c5fea137..000000000
--- a/rules/host-libacl.in
+++ /dev/null
@@ -1,5 +0,0 @@
-## SECTION=hosttools_noprompt
-
-config HOST_LIBACL
- tristate
- select HOST_ATTR