unrar: split unrar and libunrar into build variants, add missing InstallDev

Building unrar together with libunrar creates conflicts that can be fixed by
doing separate builds.
Closes https://github.com/openwrt/packages/pull/2060.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
Álvaro Fernández Rojas
2015-12-07 17:27:15 +01:00
parent 1f18c200a2
commit 082314c49d
2 changed files with 35 additions and 4 deletions
@@ -16,3 +16,12 @@
DESTDIR=/usr
# Linux using LCC
@@ -142,7 +142,7 @@ uninstall-unrar:
rm -f $(DESTDIR)/bin/unrar
install-lib:
- install libunrar.so $(DESTDIR)/lib
+ install -D libunrar.so $(DESTDIR)/lib/libunrar.so
uninstall-lib:
rm -f $(DESTDIR)/lib/libunrar.so