gnu: android-selinux: Simplify.

* gnu/packages/android.scm (android-selinux)[arguments]<#:phases>[unpack-core]: Delete.
[native-inputs]: Remove "core".
This commit is contained in:
Danny Milosavljevic 2018-05-10 01:04:46 +02:00
parent 3766aa921b
commit 0d697202fc
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5

View File

@ -435,12 +435,6 @@ that is safe to use for user space. It also includes
"LDFLAGS=-L . -lpcre")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'unpack-core
(lambda* (#:key inputs #:allow-other-keys)
(mkdir-p "core")
(with-directory-excursion "core"
(invoke "tar" "axf" (assoc-ref inputs "core") "--strip-components=1"))
#t))
(add-after 'unpack-core 'patch-HOST
(lambda _
;; gettid duplicates otherwise.
@ -451,7 +445,6 @@ that is safe to use for user space. It also includes
`(("openssl" ,openssl)))
(native-inputs
`(("android-bionic-uapi" ,android-bionic-uapi)
("core" ,(android-platform-system-core version))
;; pcre is inlined by our package.
("pcre" ,pcre)))
(home-page "https://developer.android.com/")