From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: [PATCH 2/3] gnu: Add libaio. Date: Fri, 17 Apr 2015 15:24:57 +0800 Message-ID: <1429255498-32458-2-git-send-email-iyzsong@gmail.com> References: <1429255498-32458-1-git-send-email-iyzsong@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj0dw-0000jO-9J for guix-devel@gnu.org; Fri, 17 Apr 2015 03:24:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yj0dl-0004V8-J3 for guix-devel@gnu.org; Fri, 17 Apr 2015 03:24:52 -0400 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:36395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj0dl-0004U0-8q for guix-devel@gnu.org; Fri, 17 Apr 2015 03:24:41 -0400 Received: by pabsx10 with SMTP id sx10so116662331pab.3 for ; Fri, 17 Apr 2015 00:24:40 -0700 (PDT) In-Reply-To: <1429255498-32458-1-git-send-email-iyzsong@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/linux.scm (libaio): New variable. --- gnu/packages/linux.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index dc05322..4b3575c 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2113,3 +2113,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+))) -- 2.2.1