From: Michael Tremer Date: Tue, 3 Apr 2012 15:37:50 +0000 (+0200) Subject: readline: Move libs to /usr. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b594e75f722847fa44fac4dd9901599d0ae66a9e;p=ipfire-3.x.git readline: Move libs to /usr. --- diff --git a/readline/readline.nm b/readline/readline.nm index d1ade64d0..4b8c226bd 100644 --- a/readline/readline.nm +++ b/readline/readline.nm @@ -5,7 +5,7 @@ name = readline version = 6.2 -release = 5 +release = 6 groups = System/Libraries url = ftp://ftp.gnu.org/gnu/readline/ @@ -29,9 +29,6 @@ build ncurses-devel end - configure_options += \ - --libdir=/%{lib} \ - make_build_targets += \ SHLIB_LIBS=-lncurses @@ -39,11 +36,6 @@ build # Remove a bunch of *.c files rm -rfv %{BUILDROOT}/usr/share/readline - mkdir -pv %{BUILDROOT}%{libdir} - rm -fv %{BUILDROOT}/%{lib}/lib{readline,history}.so - ln -sfv ../../%{lib}/libreadline.so.6 %{BUILDROOT}%{libdir}/libreadline.so - ln -sfv ../../%{lib}/libhistory.so.6 %{BUILDROOT}%{libdir}/libhistory.so - mkdir -pv %{BUILDROOT}/etc/profile.d cp -vf %{DIR_SOURCE}/readline.sh %{BUILDROOT}/etc/profile.d/ end