gnu: Add android-libsparse.

* gnu/packages/android.scm (android-libsparse): New variable.
This commit is contained in:
Danny Milosavljevic 2018-04-26 02:26:53 +02:00
parent 16c2be0b42
commit 092f88a6d7
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 22 additions and 0 deletions

View File

@ -195,6 +195,28 @@ various Android core host applications.")
various Android core host applications.") various Android core host applications.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public android-libsparse
(package
(name "android-libsparse")
(version (android-platform-version))
(source (android-platform-system-core version))
(build-system android-ndk-build-system)
(arguments
`(#:tests? #f ; TODO.
#:make-flags '("CFLAGS=-Wno-error"
"CXXFLAGS=-fpermissive -Wno-error")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'enter-source
(lambda _ (chdir "libsparse") #t)))))
(inputs
`(("zlib" ,zlib)))
(home-page "https://developer.android.com/")
(synopsis "Android platform sparse library")
(description "@code{android-libsparse} is a library in common use by the
various Android core host applications.")
(license license:asl2.0)))
(define-public android-libziparchive (define-public android-libziparchive
(package (package
(name "android-libziparchive") (name "android-libziparchive")