gnu: libcutils: Install header files.

* gnu/packages/android.scm (libcutils)[arguments]<#:phases>[install]: Install
header files.
This commit is contained in:
Danny Milosavljevic 2018-04-26 02:52:18 +02:00
parent cc39d592d9
commit cbf83e0090
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5

View File

@ -210,10 +210,13 @@ various Android core host applications.")
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(lib (string-append out "/lib")))
(lib (string-append out "/lib"))
(include (string-append out "/include")))
(install-file "libcutils.so.0" lib)
(with-directory-excursion lib
(symlink "libcutils.so.0" "libcutils.so"))
(copy-recursively "../include/cutils"
(string-append include "/cutils"))
#t))))))
(home-page "https://developer.android.com/")
(synopsis "Android platform c utils library")