]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
expat: Make package work on x86_64.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Dec 2011 13:46:39 +0000 (14:46 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Dec 2011 13:46:39 +0000 (14:46 +0100)
expat/expat.nm

index d03a8bcf1cf9c788d178a4f9324f865bf754055e..535a79a9adb66775fc09812f12d9646b7530a3b0 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = expat
 version    = 2.0.1
-release    = 1
+release    = 2
 
 groups     = System/Libraries
 url        = http://www.libexpat.org/
@@ -25,13 +25,12 @@ source_dl  =
 
 build
        configure_options += \
-               --libdir=/lib \
-               --mandir=/usr/share
+               --libdir=/%{lib}
 
        install_cmds
-               rm -vf %{BUILDROOT}/lib/libexpat.so
-               mkdir -pv %{BUILDROOT}/usr/lib
-               ln -svf ../../lib/libexpat.so.1 %{BUILDROOT}/usr/lib/libexpat.so
+               rm -vf %{BUILDROOT}/%{lib}/libexpat.so
+               mkdir -pv %{BUILDROOT}%{libdir}
+               ln -svf ../../%{lib}/libexpat.so.1 %{BUILDROOT}%{libdir}/libexpat.so
        end
 end