gnu: android-selinux: Simplify.
* gnu/packages/android.scm (android-selinux)[arguments]<#:phases>[unpack-core]: Delete. [native-inputs]: Remove "core".
This commit is contained in:
parent
3766aa921b
commit
0d697202fc
|
@ -435,12 +435,6 @@ that is safe to use for user space. It also includes
|
||||||
"LDFLAGS=-L . -lpcre")
|
"LDFLAGS=-L . -lpcre")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-after 'unpack-core 'patch-HOST
|
||||||
(lambda _
|
(lambda _
|
||||||
;; gettid duplicates otherwise.
|
;; gettid duplicates otherwise.
|
||||||
|
@ -451,7 +445,6 @@ that is safe to use for user space. It also includes
|
||||||
`(("openssl" ,openssl)))
|
`(("openssl" ,openssl)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("android-bionic-uapi" ,android-bionic-uapi)
|
`(("android-bionic-uapi" ,android-bionic-uapi)
|
||||||
("core" ,(android-platform-system-core version))
|
|
||||||
;; pcre is inlined by our package.
|
;; pcre is inlined by our package.
|
||||||
("pcre" ,pcre)))
|
("pcre" ,pcre)))
|
||||||
(home-page "https://developer.android.com/")
|
(home-page "https://developer.android.com/")
|
||||||
|
|
Loading…
Reference in New Issue