]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
attr: Move everything to /usr.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 12 Apr 2012 12:46:45 +0000 (14:46 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 12 Apr 2012 12:46:45 +0000 (14:46 +0200)
attr/attr.nm

index 740d88f125943e671f117925b3600d6d637861aa..a1bc9d5305b4d4c3f26f829f422b38194cdc9626 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = attr
 version    = 2.4.43
-release    = 4
+release    = 5
 
 groups     = System/Filesystems
 url        = http://oss.sgi.com/projects/xfs/
@@ -26,22 +26,11 @@ build
        end
 
        configure_options += \
+               --libexecdir=%{libdir} \
                --enable-shared
 
        make_build_targets += LIBTOOL="libtool --tag=CC"
-
-       install_cmds
-               # Install libraries.
-               mkdir -pv %{BUILDROOT}%{libdir}
-               install -v -m0755 libattr/.libs/libattr.so.1.1.0 %{BUILDROOT}/%{libdir}
-               ln -vsf libattr.so.1.1.0 %{BUILDROOT}/%{libdir}/libattr.so.1
-               ln -vsf libattr.so.1 %{BUILDROOT}%{libdir}/libattr.so
-
-               # Install includes.
-               mkdir -pv %{BUILDROOT}%{includedir}/attr
-               cp -vf include/{attributes.h,error_context.h,libattr.h,xattr.h} \
-                       %{BUILDROOT}%{includedir}/attr/
-       end
+       make_install_targets += install-libs install-dev
 end
 
 packages