diff options
author | 宋文武 <iyzsong@gmail.com> | 2015-04-16 16:47:44 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2015-04-18 21:52:14 +0800 |
commit | 01ccdfb6d3641b4dc0de4d4dba1f40892ff111e9 (patch) | |
tree | dfe54deea6350bc3b5cdbed442c1ba25fa263884 /gnu | |
parent | 82d8729b24bc4dfec638373dd561ced40f4933d9 (diff) | |
download | patches-01ccdfb6d3641b4dc0de4d4dba1f40892ff111e9.tar patches-01ccdfb6d3641b4dc0de4d4dba1f40892ff111e9.tar.gz |
gnu: Add libaio.
* gnu/packages/linux.scm (libaio): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/linux.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 101982114c..2232e8611e 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2132,3 +2132,32 @@ MPEG-2 and audio over Linux IEEE 1394.") assemble, report on, and monitor arrays. It can also move spares between raid arrays when needed.") (license gpl2+))) + +(define-public libaio + (package + (name "libaio") + (version "0.3.110") + (source (origin + (method url-fetch) + (uri (list + (string-append "mirror://debian/pool/main/liba/libaio/" + name "_" version ".orig.tar.gz") + (string-append "https://fedorahosted.org/releases/l/i/libaio/" + name "-" version ".tar.gz"))) + (sha256 + (base32 + "0zjzfkwd1kdvq6zpawhzisv7qbq1ffs343i5fs9p498pcf7046g0")))) + (build-system gnu-build-system) + (arguments + '(#:make-flags + (list "CC=gcc" (string-append "prefix=" %output)) + #:test-target "partcheck" ; need root for a full 'check' + #:phases + (alist-delete 'configure %standard-phases))) ; no configure script + (home-page "http://lse.sourceforge.net/io/aio.html") + (synopsis "Linux-native asynchronous I/O access library") + (description + "This library enables userspace to use Linux kernel asynchronous I/O +system calls, important for the performance of databases and other advanced +applications.") + (license lgpl2.1+))) |