gnu: Rename "libapr" to "apr" and "libaprutil" to "apr-util".
* gnu/packages/apr.scm: Rename file from libapr.scm. * gnu/packages/patches/apr-skip-getservbyname-test.patch: Rename file from libapr-skip-getservbyname-test.patch. * gnu-system.am (GNU_SYSTEM_MODULES): Rename module libapr to apr. * gnu-system.am (dist_patch_DATA): Rename patch file. * gnu/packages/apr.scm (apr): Rename from libapr. * gnu/packages/apr.scm (apr-util): Rename from libaprutil, change input name. * gnu/packages/version-control.scm (subversion): Change input name.
This commit is contained in:
parent
75c6fd43ed
commit
2b24faa295
|
@ -24,6 +24,7 @@ GNU_SYSTEM_MODULES = \
|
||||||
gnu/packages.scm \
|
gnu/packages.scm \
|
||||||
gnu/packages/acl.scm \
|
gnu/packages/acl.scm \
|
||||||
gnu/packages/algebra.scm \
|
gnu/packages/algebra.scm \
|
||||||
|
gnu/packages/apr.scm \
|
||||||
gnu/packages/aspell.scm \
|
gnu/packages/aspell.scm \
|
||||||
gnu/packages/attr.scm \
|
gnu/packages/attr.scm \
|
||||||
gnu/packages/autotools.scm \
|
gnu/packages/autotools.scm \
|
||||||
|
@ -87,7 +88,6 @@ GNU_SYSTEM_MODULES = \
|
||||||
gnu/packages/ld-wrapper.scm \
|
gnu/packages/ld-wrapper.scm \
|
||||||
gnu/packages/less.scm \
|
gnu/packages/less.scm \
|
||||||
gnu/packages/lesstif.scm \
|
gnu/packages/lesstif.scm \
|
||||||
gnu/packages/libapr.scm \
|
|
||||||
gnu/packages/libdaemon.scm \
|
gnu/packages/libdaemon.scm \
|
||||||
gnu/packages/libevent.scm \
|
gnu/packages/libevent.scm \
|
||||||
gnu/packages/libffi.scm \
|
gnu/packages/libffi.scm \
|
||||||
|
@ -173,6 +173,7 @@ GNU_SYSTEM_MODULES = \
|
||||||
|
|
||||||
patchdir = $(guilemoduledir)/gnu/packages/patches
|
patchdir = $(guilemoduledir)/gnu/packages/patches
|
||||||
dist_patch_DATA = \
|
dist_patch_DATA = \
|
||||||
|
gnu/packages/patches/apr-skip-getservbyname-test.patch \
|
||||||
gnu/packages/patches/automake-skip-amhello-tests.patch \
|
gnu/packages/patches/automake-skip-amhello-tests.patch \
|
||||||
gnu/packages/patches/bigloo-gc-shebangs.patch \
|
gnu/packages/patches/bigloo-gc-shebangs.patch \
|
||||||
gnu/packages/patches/binutils-ld-new-dtags.patch \
|
gnu/packages/patches/binutils-ld-new-dtags.patch \
|
||||||
|
@ -196,7 +197,6 @@ dist_patch_DATA = \
|
||||||
gnu/packages/patches/guile-default-utf8.patch \
|
gnu/packages/patches/guile-default-utf8.patch \
|
||||||
gnu/packages/patches/guile-linux-syscalls.patch \
|
gnu/packages/patches/guile-linux-syscalls.patch \
|
||||||
gnu/packages/patches/guile-relocatable.patch \
|
gnu/packages/patches/guile-relocatable.patch \
|
||||||
gnu/packages/patches/libapr-skip-getservbyname-test.patch \
|
|
||||||
gnu/packages/patches/libevent-dns-tests.patch \
|
gnu/packages/patches/libevent-dns-tests.patch \
|
||||||
gnu/packages/patches/libtool-skip-tests.patch \
|
gnu/packages/patches/libtool-skip-tests.patch \
|
||||||
gnu/packages/patches/m4-gets-undeclared.patch \
|
gnu/packages/patches/m4-gets-undeclared.patch \
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
;;; You should have received a copy of the GNU General Public License
|
;;; You should have received a copy of the GNU General Public License
|
||||||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(define-module (gnu packages libapr)
|
(define-module (gnu packages apr)
|
||||||
#:use-module (guix licenses)
|
#:use-module (guix licenses)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
@ -25,9 +25,9 @@
|
||||||
#:use-module (gnu packages perl)
|
#:use-module (gnu packages perl)
|
||||||
#:use-module (gnu packages autotools))
|
#:use-module (gnu packages autotools))
|
||||||
|
|
||||||
(define-public libapr
|
(define-public apr
|
||||||
(package
|
(package
|
||||||
(name "libapr")
|
(name "apr")
|
||||||
(version "1.4.8")
|
(version "1.4.8")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
(inputs `(("perl" ,perl)
|
(inputs `(("perl" ,perl)
|
||||||
("libtool" ,libtool)
|
("libtool" ,libtool)
|
||||||
("patch/skip-test"
|
("patch/skip-test"
|
||||||
,(search-patch "libapr-skip-getservbyname-test.patch"))))
|
,(search-patch "apr-skip-getservbyname-test.patch"))))
|
||||||
(home-page "http://apr.apache.org/")
|
(home-page "http://apr.apache.org/")
|
||||||
(synopsis "The Apache Portable Runtime Library")
|
(synopsis "The Apache Portable Runtime Library")
|
||||||
(description
|
(description
|
||||||
|
@ -57,9 +57,9 @@ built, relieving them of the need to code special-case conditions to work
|
||||||
around or take advantage of platform-specific deficiencies or features.")
|
around or take advantage of platform-specific deficiencies or features.")
|
||||||
(license asl2.0)))
|
(license asl2.0)))
|
||||||
|
|
||||||
(define-public libaprutil
|
(define-public apr-util
|
||||||
(package
|
(package
|
||||||
(name "libaprutil")
|
(name "apr-util")
|
||||||
(version "1.5.2")
|
(version "1.5.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -70,19 +70,19 @@ around or take advantage of platform-specific deficiencies or features.")
|
||||||
"19qjxpckb9p4j9pbk8kcirg6k5vqnjrqhnk9xx2c5m9964p3vkls"))))
|
"19qjxpckb9p4j9pbk8kcirg6k5vqnjrqhnk9xx2c5m9964p3vkls"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("libapr" ,libapr)))
|
`(("apr" ,apr)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(alist-replace
|
(alist-replace
|
||||||
'configure
|
'configure
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
(libapr (assoc-ref inputs "libapr")))
|
(apr (assoc-ref inputs "apr")))
|
||||||
(setenv "CONFIG_SHELL" (which "bash"))
|
(setenv "CONFIG_SHELL" (which "bash"))
|
||||||
(zero?
|
(zero?
|
||||||
(system* "./configure"
|
(system* "./configure"
|
||||||
(string-append "--prefix=" out)
|
(string-append "--prefix=" out)
|
||||||
(string-append "--with-apr=" libapr)))))
|
(string-append "--with-apr=" apr)))))
|
||||||
%standard-phases)))
|
%standard-phases)))
|
||||||
(home-page "http://apr.apache.org/")
|
(home-page "http://apr.apache.org/")
|
||||||
(synopsis "One of the Apache Portable Runtime Library companions")
|
(synopsis "One of the Apache Portable Runtime Library companions")
|
|
@ -27,7 +27,7 @@
|
||||||
#:use-module (guix build utils)
|
#:use-module (guix build utils)
|
||||||
#:use-module ((gnu packages gettext)
|
#:use-module ((gnu packages gettext)
|
||||||
#:renamer (symbol-prefix-proc 'guix:))
|
#:renamer (symbol-prefix-proc 'guix:))
|
||||||
#:use-module (gnu packages libapr)
|
#:use-module (gnu packages apr)
|
||||||
#:use-module (gnu packages nano)
|
#:use-module (gnu packages nano)
|
||||||
#:use-module (gnu packages perl)
|
#:use-module (gnu packages perl)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
|
@ -77,8 +77,8 @@ from a command line or use a GUI application.")
|
||||||
"11inl9n1riahfnbk1fax0dysm2swakzhzhpmm2zvga6fikcx90zw"))))
|
"11inl9n1riahfnbk1fax0dysm2swakzhzhpmm2zvga6fikcx90zw"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("libapr" ,libapr)
|
`(("apr" ,apr)
|
||||||
("libaprutil" ,libaprutil)
|
("apr-util" ,apr-util)
|
||||||
("perl" ,perl)
|
("perl" ,perl)
|
||||||
("python" ,python)
|
("python" ,python)
|
||||||
("sqlite" ,sqlite)
|
("sqlite" ,sqlite)
|
||||||
|
|
Loading…
Reference in New Issue