]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - attr/attr.nm
Move all packages to root.
[ipfire-3.x.git] / attr / attr.nm
diff --git a/attr/attr.nm b/attr/attr.nm
new file mode 100644 (file)
index 0000000..cc27de0
--- /dev/null
@@ -0,0 +1,53 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = attr
+version    = 2.4.43
+release    = 1
+
+groups     = System/Filesystems
+url        = http://oss.sgi.com/projects/xfs/
+license    = GPLv2+ LGPLv2+
+summary    = Tools for extended attribute support.
+
+description
+       A set of tools for manipulating extended attributes on filesystem \
+       objects.
+end
+
+source_dl  = ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
+
+build
+       requires
+               gettext
+               libtool
+       end
+
+       configure_options += \
+               --bindir=/bin \
+               --enable-shared \
+               --mandir=/usr/share/man
+
+       make_build_targets += LIBTOOL="libtool --tag=CC"
+
+       install_cmds
+               mkdir -pv %{BUILDROOT}/{,usr/}lib
+               install -v -m0755 %{DIR_APP}/libattr/.libs/libattr.so.1.1.0 %{BUILDROOT}/lib
+               ln -vsf libattr.so.1.1.0 %{BUILDROOT}/lib/libattr.so.1
+               ln -vsf ../../lib/libattr.so.1 %{BUILDROOT}/usr/lib/libattr.so
+               install -v -d %{BUILDROOT}/usr/include/attr
+               cp -vf %{DIR_APP}/include/{attributes.h,error_context.h,libattr.h,xattr.h} \
+                       %{BUILDROOT}/usr/include/attr/
+       end
+end
+
+packages
+       package lib%{name}
+       end
+       
+       package lib%{name}-devel
+               template DEVEL
+       end
+end