diff options
Diffstat (limited to 'dev-libs/yaz')
-rw-r--r-- | dev-libs/yaz/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch | 25 | ||||
-rw-r--r-- | dev-libs/yaz/files/yaz-4.2.30-icu-automagic.patch | 25 | ||||
-rw-r--r-- | dev-libs/yaz/metadata.xml | 11 | ||||
-rw-r--r-- | dev-libs/yaz/yaz-3.0.50.ebuild | 56 | ||||
-rw-r--r-- | dev-libs/yaz/yaz-3.0.53.ebuild | 56 | ||||
-rw-r--r-- | dev-libs/yaz/yaz-4.2.30.ebuild | 56 | ||||
-rw-r--r-- | dev-libs/yaz/yaz-4.2.51.ebuild | 56 |
8 files changed, 289 insertions, 0 deletions
diff --git a/dev-libs/yaz/Manifest b/dev-libs/yaz/Manifest new file mode 100644 index 000000000000..2e0a4c935784 --- /dev/null +++ b/dev-libs/yaz/Manifest @@ -0,0 +1,4 @@ +DIST yaz-3.0.50.tar.gz 2123168 SHA256 f94b69d232159f56a16c2b66b545a441d6a0f240ac188aa677762b9055b4f374 SHA512 902c7f7cf1265744c1174b2d7860d2fbc09ed3b6ae3da57eb6caf080dfc5cc1265ce4ec7d8e3d215dc3ba7fc88d8d78ecaa808cf11d38393b5d6253e809b3eae WHIRLPOOL cb5150c63024b61832d3298be21fd153c869af5ccff92267c5b497b7ba46d57f949e751ce17ca0f97e0092a9c85a225292c9f07b5a859246b915e408f07591dc +DIST yaz-3.0.53.tar.gz 2164681 SHA256 2e66707d62ae431a7fecc1822429dca249f22655215b5d2f94aa098a52af1149 SHA512 537d54757e401c1b29ad2120209b2cd038f26ff7f43ffc3c1e22808e12a1580aedee3880478e951fd4b3057ca9af4a34afa2a64c0b8ffcbec24f76deb83ddc89 WHIRLPOOL 5acaafa5d943ebb7f77f24c42172338cba713c0022b28c865be162cac24d0234c8b4f513d28e07d0fc414144ed8ab0d7ad84ca5c3d76b899015a9ba4786848f8 +DIST yaz-4.2.30.tar.gz 2377546 SHA256 3e0afe656d63f062de16f53d2ed51853933f29e675d19c966513327cfd8cd1f8 SHA512 a3ab0fba3b318c5de7693fa8a54c20edf257c3766fc24bb8e4bc45b781489ac24d659fe602b25767f38535a06e52bd58176b775c5e7f55a1d499975f6494e2f8 WHIRLPOOL 2299e93e1ca52f76e793c54764b74df81a251cade6b9af6a60abcbd8dfcab38bf10d91d14cda88d8cf020cc61a4d0a673a9e920feafafb9c9077b65871a51484 +DIST yaz-4.2.51.tar.gz 2429046 SHA256 1698ca384df0b435eed752be5e788749ca7171666f20aba30b2024f44f70aad1 SHA512 43907e60af63e3bc883cfc638a7aa42719332df2e6ee3eca45f41dd12ea989ccbb8aff54afd17d2b9ff722aeda5ccb852b79510698296cabdb9226afd7a8c2e7 WHIRLPOOL 20a36d19e9b410458f144d8ab0596be3d6461cf830d980bb8160286d3a6ca627363eebb889518b5083a65142bde54f740fbf70fb64ba2704c9374214981694dd diff --git a/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch b/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch new file mode 100644 index 000000000000..a0aedfe05105 --- /dev/null +++ b/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch @@ -0,0 +1,25 @@ +--- yaz-3.0.47/configure.ac.orig 2009-07-08 04:58:43.000000000 -0700 ++++ yaz-3.0.47/configure.ac 2009-07-31 01:46:21.764545198 -0700 +@@ -367,14 +367,14 @@ + + dnl + dnl +-AC_CHECK_ICU([3.4],[ +- if test "$xml_enabled" = "true"; then +- ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1" +- else +- ICU_CPPFLAGS="" +- AC_MSG_WARN([ICU support disabled because XML support is unavailable]) +- fi +-]) ++dnl ------ ICU ++AC_ARG_ENABLE(icu, [ --enable-icu enable ICU support],[enable_icu=$enableval],[enable_icu=no]) ++if test "$enable_icu" = "yes"; then ++ AC_CHECK_ICU([3.4],[ ++ ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1"],[ ++ AC_MSG_ERROR([For ICU support please install libicu34-dev or similar]) ++ ]) ++fi + dnl + dnl ------ Memory debugging + AC_ARG_ENABLE([memdebug],[ --enable-memdebug enable memory debugging],[enable_memdebug=$enableval],[enable_memdebug=none]) diff --git a/dev-libs/yaz/files/yaz-4.2.30-icu-automagic.patch b/dev-libs/yaz/files/yaz-4.2.30-icu-automagic.patch new file mode 100644 index 000000000000..e6854448b513 --- /dev/null +++ b/dev-libs/yaz/files/yaz-4.2.30-icu-automagic.patch @@ -0,0 +1,25 @@ +diff -Nuar yaz-4.2.30.orig/configure.ac yaz-4.2.30/configure.ac +--- yaz-4.2.30.orig/configure.ac 2012-03-23 10:20:20.000000000 +0000 ++++ yaz-4.2.30/configure.ac 2012-04-22 20:56:41.118691087 +0000 +@@ -372,14 +372,13 @@ + + dnl + dnl +-AC_CHECK_ICU([3.4],[ +- if test "$xml_enabled" = "true"; then +- ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1" +- else +- ICU_CPPFLAGS="" +- AC_MSG_WARN([ICU support disabled because XML support is unavailable]) +- fi +-]) ++AC_ARG_ENABLE(icu, [ --enable-icu enable ICU support],[enable_icu=$enableval],[enable_icu=no]) ++if test "$enable_icu" = "yes"; then ++ AC_CHECK_ICU([3.4],[ ++ ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1"],[ ++ AC_MSG_ERROR([For ICU support please install libicu34-dev or similar]) ++ ]) ++fi + dnl ------ versioning + dnl + WIN_FILEVERSION=`echo $PACKAGE_VERSION | $AWK 'BEGIN { FS = "."; } { m = $4; printf("%d,%d,%d,%d", $1, $2, $3 == "" ? "0" : $3, $4 == "" ? "1" : $4);}'` diff --git a/dev-libs/yaz/metadata.xml b/dev-libs/yaz/metadata.xml new file mode 100644 index 000000000000..fe6745443ea3 --- /dev/null +++ b/dev-libs/yaz/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> +</maintainer> +<use> + <flag name='ziffy'>Install ziffy, a promiscuous Z39.50 APDU sniffer</flag> +</use> +</pkgmetadata> diff --git a/dev-libs/yaz/yaz-3.0.50.ebuild b/dev-libs/yaz/yaz-3.0.50.ebuild new file mode 100644 index 000000000000..1185a412a9a0 --- /dev/null +++ b/dev-libs/yaz/yaz-3.0.50.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils autotools + +DESCRIPTION="C/C++ programmer's toolkit supporting the development of Z39.50v3 clients and servers" +HOMEPAGE="http://www.indexdata.dk/yaz" +SRC_URI="http://ftp.indexdata.dk/pub/${PN}/${P}.tar.gz" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" +IUSE="debug icu tcpd ziffy" + +RDEPEND="dev-libs/libxml2 + dev-libs/libxslt + dev-libs/openssl + icu? ( dev-libs/icu ) + tcpd? ( sys-apps/tcp-wrappers ) + ziffy? ( net-libs/libpcap )" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-lang/tcl:0 + >=sys-devel/libtool-2" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-3.0.47-icu-automagic.patch + AT_M4DIR="m4" eautoreconf +} + +src_configure() { + econf \ + --enable-static \ + --enable-shared \ + $(use_enable debug memdebug) \ + $(use_enable icu) \ + $(use_enable tcpd tcpd /usr) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + local docdir="/usr/share/doc/${PF}" + emake DESTDIR="${D}" docdir="${docdir}" install || die "install failed" + + dodir ${docdir}/html + mv -f "${D}"/${docdir}/*.{html,png} "${D}"/${docdir}/html/ || die "Failed to move HTML docs" + mv -f "${D}"/usr/share/doc/${PN}/common "${D}"/${docdir}/html/ || die "Failed to move HTML docs" + rm -rf "${D}"/usr/share/doc/${PN} + + dodoc ChangeLog NEWS README +} diff --git a/dev-libs/yaz/yaz-3.0.53.ebuild b/dev-libs/yaz/yaz-3.0.53.ebuild new file mode 100644 index 000000000000..9fdd73c01890 --- /dev/null +++ b/dev-libs/yaz/yaz-3.0.53.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils autotools + +DESCRIPTION="C/C++ programmer's toolkit supporting the development of Z39.50v3 clients and servers" +HOMEPAGE="http://www.indexdata.dk/yaz" +SRC_URI="http://ftp.indexdata.dk/pub/${PN}/${P}.tar.gz" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="debug icu tcpd ziffy" + +RDEPEND="dev-libs/libxml2 + dev-libs/libxslt + dev-libs/openssl + icu? ( dev-libs/icu ) + tcpd? ( sys-apps/tcp-wrappers ) + ziffy? ( net-libs/libpcap )" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-lang/tcl:0 + >=sys-devel/libtool-2" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-3.0.47-icu-automagic.patch + AT_M4DIR="m4" eautoreconf +} + +src_configure() { + econf \ + --enable-static \ + --enable-shared \ + $(use_enable debug memdebug) \ + $(use_enable icu) \ + $(use_enable tcpd tcpd /usr) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + local docdir="/usr/share/doc/${PF}" + emake DESTDIR="${D}" docdir="${docdir}" install || die "install failed" + + dodir ${docdir}/html + mv -f "${D}"/${docdir}/*.{html,png} "${D}"/${docdir}/html/ || die "Failed to move HTML docs" + mv -f "${D}"/usr/share/doc/${PN}/common "${D}"/${docdir}/html/ || die "Failed to move HTML docs" + rm -rf "${D}"/usr/share/doc/${PN} + + dodoc ChangeLog NEWS README +} diff --git a/dev-libs/yaz/yaz-4.2.30.ebuild b/dev-libs/yaz/yaz-4.2.30.ebuild new file mode 100644 index 000000000000..a2a7d782a9d1 --- /dev/null +++ b/dev-libs/yaz/yaz-4.2.30.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils autotools + +DESCRIPTION="C/C++ programmer's toolkit supporting the development of Z39.50v3 clients and servers" +HOMEPAGE="http://www.indexdata.dk/yaz" +SRC_URI="http://ftp.indexdata.dk/pub/${PN}/${P}.tar.gz" + +LICENSE="BSD GPL-2" +SLOT="4" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="debug icu tcpd ziffy" + +RDEPEND="dev-libs/libxml2 + dev-libs/libxslt + dev-libs/openssl + icu? ( dev-libs/icu ) + tcpd? ( sys-apps/tcp-wrappers ) + ziffy? ( net-libs/libpcap )" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-lang/tcl:0 + >=sys-devel/libtool-2" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-4.2.30-icu-automagic.patch + AT_M4DIR="m4" eautoreconf +} + +src_configure() { + econf \ + --enable-static \ + --enable-shared \ + $(use_enable debug memdebug) \ + $(use_enable icu) \ + $(use_enable tcpd tcpd /usr) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + local docdir="/usr/share/doc/${PF}" + emake DESTDIR="${D}" docdir="${docdir}" install || die "install failed" + + dodir ${docdir}/html + mv -f "${D}"/${docdir}/*.{html,png} "${D}"/${docdir}/html/ || die "Failed to move HTML docs" + mv -f "${D}"/usr/share/doc/${PN}/common "${D}"/${docdir}/html/ || die "Failed to move HTML docs" + rm -rf "${D}"/usr/share/doc/${PN} + + dodoc ChangeLog NEWS README +} diff --git a/dev-libs/yaz/yaz-4.2.51.ebuild b/dev-libs/yaz/yaz-4.2.51.ebuild new file mode 100644 index 000000000000..a2a7d782a9d1 --- /dev/null +++ b/dev-libs/yaz/yaz-4.2.51.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils autotools + +DESCRIPTION="C/C++ programmer's toolkit supporting the development of Z39.50v3 clients and servers" +HOMEPAGE="http://www.indexdata.dk/yaz" +SRC_URI="http://ftp.indexdata.dk/pub/${PN}/${P}.tar.gz" + +LICENSE="BSD GPL-2" +SLOT="4" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="debug icu tcpd ziffy" + +RDEPEND="dev-libs/libxml2 + dev-libs/libxslt + dev-libs/openssl + icu? ( dev-libs/icu ) + tcpd? ( sys-apps/tcp-wrappers ) + ziffy? ( net-libs/libpcap )" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-lang/tcl:0 + >=sys-devel/libtool-2" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-4.2.30-icu-automagic.patch + AT_M4DIR="m4" eautoreconf +} + +src_configure() { + econf \ + --enable-static \ + --enable-shared \ + $(use_enable debug memdebug) \ + $(use_enable icu) \ + $(use_enable tcpd tcpd /usr) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + local docdir="/usr/share/doc/${PF}" + emake DESTDIR="${D}" docdir="${docdir}" install || die "install failed" + + dodir ${docdir}/html + mv -f "${D}"/${docdir}/*.{html,png} "${D}"/${docdir}/html/ || die "Failed to move HTML docs" + mv -f "${D}"/usr/share/doc/${PN}/common "${D}"/${docdir}/html/ || die "Failed to move HTML docs" + rm -rf "${D}"/usr/share/doc/${PN} + + dodoc ChangeLog NEWS README +} |