From: Michael Tremer Date: Fri, 23 Dec 2011 13:46:39 +0000 (+0100) Subject: expat: Make package work on x86_64. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5e11179ad372f85efebf832c1a8ea85a47d2121;p=ipfire-3.x.git expat: Make package work on x86_64. --- diff --git a/expat/expat.nm b/expat/expat.nm index d03a8bcf1..535a79a9a 100644 --- a/expat/expat.nm +++ b/expat/expat.nm @@ -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