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 @@ (define libcutils
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (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) (install-file "libcutils.so.0" lib)
(with-directory-excursion lib (with-directory-excursion lib
(symlink "libcutils.so.0" "libcutils.so")) (symlink "libcutils.so.0" "libcutils.so"))
(copy-recursively "../include/cutils"
(string-append include "/cutils"))
#t)))))) #t))))))
(home-page "https://developer.android.com/") (home-page "https://developer.android.com/")
(synopsis "Android platform c utils library") (synopsis "Android platform c utils library")