]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - acl/acl.nm
file: Update to 5.18.
[people/ms/ipfire-3.x.git] / acl / acl.nm
index c42895016be0d5edfb66454e459b56cd9de150b2..d75ededafc6db7ddebd9a867ea313621c99a488a 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = acl
-version    = 2.2.47
+version    = 2.2.51
 release    = 3
 
 groups     = System/Filesystems
@@ -17,7 +17,8 @@ description
        manipulating access control lists.
 end
 
-source_dl  = ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
+source_dl  = http://download-mirror.savannah.gnu.org/releases/acl/
+sources    = %{thisapp}.src.tar.gz
 
 build
        requires
@@ -28,21 +29,20 @@ build
        end
 
        configure_options += \
-               --bindir=/bin \
+               --libexecdir=%{libdir} \
                --disable-static
 
        make_build_targets += LIBTOOL="libtool --tag=CC"
 
+       test
+               make tests
+       end
+
+       make_install_targets += install-dev install-lib
+
        install_cmds
-               mkdir -pv %{BUILDROOT}/%{lib} %{BUILDROOT}%{libdir}
-               install -v -m0755 libacl/.libs/libacl.so.1.2.0 %{BUILDROOT}/%{lib}
-               ln -vsf libacl.so.1.2.0 %{BUILDROOT}/%{lib}/libacl.so.1
-               ln -vsf ../../%{lib}/libacl.so.1 %{BUILDROOT}%{libdir}/libacl.so
-
-               # Install headers.
-               mkdir -pv %{BUILDROOT}%{includedir}/{acl,sys}
-               cp -vf include/libacl.h %{BUILDROOT}%{includedir}/acl/
-               cp -vf include/acl.h %{BUILDROOT}%{includedir}/sys/
+               # Fix library permissions.
+               chmod 755 %{BUILDROOT}%{libdir}/libacl.so.*
        end
 end