gnu: libasr: Update to 1.0.3.
* gnu/packages/dns.scm (libasr): Update to 1.0.3. [arguments]: Replace ‘bootstrap’ and add ‘install-documentation’ phase. [native-inputs]: Add libtool and remove groff.
This commit is contained in:
		
							parent
							
								
									ec84186fe4
								
							
						
					
					
						commit
						0aa217e760
					
				
					 1 changed files with 17 additions and 5 deletions
				
			
		| 
						 | 
					@ -273,21 +273,33 @@ the two.")
 | 
				
			||||||
(define-public libasr
 | 
					(define-public libasr
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "libasr")
 | 
					    (name "libasr")
 | 
				
			||||||
    (version "201602131606")
 | 
					    (version "1.0.3")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
       (uri (string-append "https://www.opensmtpd.org/archives/"
 | 
					       (uri (string-append "https://www.opensmtpd.org/archives/"
 | 
				
			||||||
                           "libasr-" version ".tar.gz"))
 | 
					                           "libasr-" version ".tar.gz"))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32
 | 
					        (base32 "13fn4sr4vlcx1xijpl26nmnxawyls4lr5q3mi11jdm76f80qxn4w"))))
 | 
				
			||||||
         "18kdmbjsxrfai16d66qslp48b1zf7gr8him2jj5dcqgbsl44ls75"))))
 | 
					 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (replace 'bootstrap
 | 
				
			||||||
 | 
					           ;; ‘GNU build system bootstrapping not needed’, the default lies.
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (invoke "sh" "./bootstrap")))
 | 
				
			||||||
 | 
					         (add-after 'install 'install-documentation
 | 
				
			||||||
 | 
					           (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
 | 
					             (let ((out (assoc-ref outputs "out")))
 | 
				
			||||||
 | 
					               (install-file "src/asr_run.3"
 | 
				
			||||||
 | 
					                             (string-append out "/share/man/man3"))
 | 
				
			||||||
 | 
					               #t))))))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("autoconf" ,autoconf)
 | 
					     `(("autoconf" ,autoconf)
 | 
				
			||||||
       ("automake" ,automake)
 | 
					       ("automake" ,automake)
 | 
				
			||||||
       ("pkg-config" ,pkg-config)
 | 
					       ("libtool" ,libtool)
 | 
				
			||||||
       ("groff" ,groff)))
 | 
					       ("pkg-config" ,pkg-config)))
 | 
				
			||||||
    (home-page "https://www.opensmtpd.org")
 | 
					    (home-page "https://www.opensmtpd.org")
 | 
				
			||||||
    (synopsis "Asynchronous resolver library by the OpenBSD project")
 | 
					    (synopsis "Asynchronous resolver library by the OpenBSD project")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue