Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <zonque@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] Add package attr
Date: Mon, 30 May 2011 20:16:30 +0200	[thread overview]
Message-ID: <1306779390-19947-3-git-send-email-zonque@gmail.com> (raw)
In-Reply-To: <1306779390-19947-1-git-send-email-zonque@gmail.com>

---
 package/Config.in      |    1 +
 package/attr/Config.in |    6 ++++++
 package/attr/attr.mk   |   25 +++++++++++++++++++++++++
 3 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 package/attr/Config.in
 create mode 100644 package/attr/attr.mk

diff --git a/package/Config.in b/package/Config.in
index cefe90e..84bb761 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -484,6 +484,7 @@ endmenu
 
 menu "System tools"
 source "package/acl/Config.in"
+source "package/attr/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/bootutils/Config.in"
 endif
diff --git a/package/attr/Config.in b/package/attr/Config.in
new file mode 100644
index 0000000..766c346
--- /dev/null
+++ b/package/attr/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_ATTR
+	bool "attr"
+	help
+	  Commands for Manipulating Filesystem Extended Attributes
+	  See http://savannah.nongnu.org/projects/attr
+
diff --git a/package/attr/attr.mk b/package/attr/attr.mk
new file mode 100644
index 0000000..3f76bd4
--- /dev/null
+++ b/package/attr/attr.mk
@@ -0,0 +1,25 @@
+#############################################################
+#
+# attr
+#
+#############################################################
+ATTR_VERSION = 2.4.46
+ATTR_SOURCE = attr-$(ATTR_VERSION).src.tar.gz
+ATTR_SITE = http://mirror.its.uidaho.edu/pub/savannah/attr/
+ATTR_LIBTOOL_PATCH = NO
+ATTR_INSTALL_STAGING = YES
+ATTR_INSTALL_TARGET = YES
+ATTR_CONF_OPT = --enable-gettext=no
+
+define ATTR_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 0755 -D $(@D)/getfattr/.libs/getfattr $(TARGET_DIR)/usr/bin/
+	$(INSTALL) -m 0755 -D $(@D)/setfattr/.libs/setfattr $(TARGET_DIR)/usr/bin/
+	$(INSTALL) -m 0644 -D $(@D)/libattr/.libs/libattr.so* $(STAGING_DIR)/usr/lib/
+endef
+
+define ATTR_INSTALL_STAGING_CMDS
+	test -d $(STAGING_DIR)/usr/include/attr/ || mkdir $(STAGING_DIR)/usr/include/attr/
+	$(INSTALL) -m 0644 -D $(@D)/include/*.h $(STAGING_DIR)/usr/include/attr/
+endef
+
+$(eval $(call AUTOTARGETS,package,attr))
-- 
1.7.5.1

      parent reply	other threads:[~2011-05-30 18:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-30 18:16 [Buildroot] Add two more packages Daniel Mack
2011-05-30 18:16 ` [Buildroot] [PATCH 1/2] Add package acl Daniel Mack
2011-05-30 18:54   ` Heiko Zuerker
2011-05-30 19:02   ` Thomas Petazzoni
2011-05-31  9:06     ` Daniel Mack
2011-05-31 12:47       ` Heiko Zuerker
2011-05-31 16:18         ` Daniel Mack
2011-06-21 10:14         ` Yegor Yefremov
2011-06-21 17:40           ` Heiko Zuerker
2011-06-28  8:35             ` Yegor Yefremov
2011-05-30 18:16 ` Daniel Mack [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1306779390-19947-3-git-send-email-zonque@gmail.com \
    --to=zonque@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox