Commit | Line | Data |
---|---|---|
342005e7 LC |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org> | |
3 | ;;; | |
4 | ;;; This file is part of GNU Guix. | |
5 | ;;; | |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (gnu packages adns) | |
20 | #:use-module (guix licenses) | |
21 | #:use-module (guix packages) | |
22 | #:use-module (guix download) | |
23 | #:use-module (guix build-system gnu)) | |
24 | ||
25 | (define-public adns | |
26 | (package | |
27 | (name "adns") | |
28 | (version "1.5.0") | |
29 | (source (origin | |
30 | (method url-fetch) | |
31 | (uri (list (string-append "mirror://gnu/adns/adns-" | |
32 | version ".tar.gz") | |
33 | (string-append | |
34 | "http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-" | |
35 | version ".tar.gz"))) | |
36 | (sha256 | |
37 | (base32 | |
38 | "0hg89b5n84zjhzvbzrpvhl0hbm4s6d1z2pzllfis64ai656ypibz")))) | |
39 | (build-system gnu-build-system) | |
40 | (arguments | |
41 | ;; Make sure the programs under bin/ fine libadns.so. | |
42 | '(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath -Wl," | |
43 | (assoc-ref %outputs "out") | |
44 | "/lib")) | |
45 | ||
46 | ;; XXX: Tests expect real name resolution to work. | |
47 | #:tests? #f)) | |
48 | (home-page "http://www.gnu.org/software/adns/") | |
49 | (synopsis "Asynchronous DNS client library and utilities") | |
50 | (description | |
51 | "GNU adns is a C library that provides easy-to-use DNS resolution | |
52 | functionality. The library is asynchronous, allowing several concurrent | |
53 | calls. The package also includes several command-line utilities for use in | |
54 | scripts.") | |
55 | (license gpl3+))) |