]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - acl/acl.nm
polarssl: Update to 1.3.9
[people/ms/ipfire-3.x.git] / acl / acl.nm
index 8c6f0c4de1acd48232b85fff9e1ab26b4001c236..d75ededafc6db7ddebd9a867ea313621c99a488a 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = acl
 version    = 2.2.51
-release    = 1
+release    = 3
 
 groups     = System/Filesystems
 url        = http://oss.sgi.com/projects/xfs/
@@ -29,7 +29,7 @@ build
        end
 
        configure_options += \
-               --bindir=/bin \
+               --libexecdir=%{libdir} \
                --disable-static
 
        make_build_targets += LIBTOOL="libtool --tag=CC"
@@ -38,16 +38,11 @@ build
                make tests
        end
 
+       make_install_targets += install-dev install-lib
+
        install_cmds
-               mkdir -pv %{BUILDROOT}%{libdir}
-               install -v -m0755 libacl/.libs/libacl.so.1.1.0 %{BUILDROOT}%{libdir}
-               ln -vsf libacl.so.1.1.0 %{BUILDROOT}%{libdir}/libacl.so.1
-               ln -vsf 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