Skip to contentSkip to conversation

New package: attr

PATCH New Yegor Yefremov 2 participants 2 messages Jul 13, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 New package: attr

Commands for Manipulating Filesystem Extended Attributes.

---
 package/Config.in      |    1 +
 package/attr/Config.in |    7 +++++++
 package/attr/attr.mk   |   27 +++++++++++++++++++++++++++
 3 files changed, 35 insertions(+)
package/attr/Config.in new file +7 -0
Index: b/package/attr/Config.in
===================================================================
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_ATTR
+	bool "attr"
+	help
+	  Commands for Manipulating Filesystem Extended Attributes.
+	  This package also provides libattr.
+
+	  http://savannah.nongnu.org/projects/attr
package/attr/attr.mk new file +27 -0
Index: b/package/attr/attr.mk
===================================================================
@@ -0,0 +1,27 @@
+#############################################################
+#
+# attr
+#
+#############################################################
+
+ATTR_VERSION = 2.4.46
+ATTR_SOURCE = attr-$(ATTR_VERSION).src.tar.gz
+ATTR_SITE = http://download.savannah.gnu.org/releases/attr
+ATTR_INSTALL_STAGING = YES
+ATTR_CONF_OPT = --enable-gettext=no
+
+# While the configuration system uses autoconf, the Makefiles are
+# hand-written and do not use automake. Therefore, we have to hack
+# around their deficiencies by passing installation paths.
+ATTR_INSTALL_STAGING_OPT = 			\
+	prefix=$(STAGING_DIR)/usr 		\
+	exec_prefix=$(STAGING_DIR)/usr 		\
+	PKG_DEVLIB_DIR=$(STAGING_DIR)/usr/lib 	\
+	install-dev install-lib
+
+ATTR_INSTALL_TARGET_OPT = 			\
+	prefix=$(TARGET_DIR)/usr 		\
+	exec_prefix=$(TARGET_DIR)/usr 		\
+	install install-lib
+
+$(eval $(call AUTOTARGETS,package,attr))
package/Config.in +1 -0
Index: b/package/Config.in
===================================================================
@@ -492,6 +492,7 @@
 endmenu
 
 menu "System tools"
+source "package/attr/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/bootutils/Config.in"
 endif
#1 lore raw

PATCH 1/1 New package: attr

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yegor" == Yegor Yefremov <[email protected]> writes:

Yegor> Commands for Manipulating Filesystem Extended Attributes. Yegor> Signed-off-by: Heiko Zuerker <[email protected]> Yegor> Signed-off-by: Daniel Mack <[email protected]>
Yegor> Signed-off-by: Yegor Yefremov <[email protected]> Yegor> Acked-by: Thomas Petazzoni <[email protected]>

It needs largefile support in the toolchain, otherwise it looks good.

Committed with that change - Thanks everyone.

Signature · 1 line
Bye, Peter Korsgaard