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 @@ (define-public android-libselinux
"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 @@ (define-public android-libselinux
`(("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/")