diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2018-04-26 02:26:53 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2018-05-09 22:20:04 +0200 |
commit | 092f88a6d7d0b3779aa9bcc99bf3c110ddfef862 (patch) | |
tree | 4a85e1b67f1b2e968d7d96ff8eab98a01a64d146 | |
parent | 16c2be0b42c68371802b12b9687d7d720751c64d (diff) | |
download | patches-092f88a6d7d0b3779aa9bcc99bf3c110ddfef862.tar patches-092f88a6d7d0b3779aa9bcc99bf3c110ddfef862.tar.gz |
gnu: Add android-libsparse.
* gnu/packages/android.scm (android-libsparse): New variable.
-rw-r--r-- | gnu/packages/android.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index ea225fa900..e9c591d434 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -195,6 +195,28 @@ various Android core host applications.") various Android core host applications.") (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 (package (name "android-libziparchive") |