From b3bcbf82c4549c1ac68fdc8734d1dc001d9710d3 Mon Sep 17 00:00:00 2001 From: Markus Ullmann Date: Wed, 24 Jan 2007 20:22:15 +0000 Subject: [PATCH] Version bump try #3 ( see bug #163179 ), thanks to Frederic Mangeant for reporting Package-Manager: portage-2.1.2-r1 --- net-analyzer/rrdtool/ChangeLog | 9 +- net-analyzer/rrdtool/Manifest | 42 ++++--- .../rrdtool/files/digest-rrdtool-1.2.11-r2 | 3 - .../rrdtool/files/digest-rrdtool-1.2.18 | 3 + .../rrdtool/files/digest-rrdtool-1.2.6-r1 | 3 - ...1.2.11-r2.ebuild => rrdtool-1.2.18.ebuild} | 38 +++--- net-analyzer/rrdtool/rrdtool-1.2.6-r1.ebuild | 119 ------------------ 7 files changed, 52 insertions(+), 165 deletions(-) delete mode 100644 net-analyzer/rrdtool/files/digest-rrdtool-1.2.11-r2 create mode 100644 net-analyzer/rrdtool/files/digest-rrdtool-1.2.18 delete mode 100644 net-analyzer/rrdtool/files/digest-rrdtool-1.2.6-r1 rename net-analyzer/rrdtool/{rrdtool-1.2.11-r2.ebuild => rrdtool-1.2.18.ebuild} (73%) delete mode 100644 net-analyzer/rrdtool/rrdtool-1.2.6-r1.ebuild diff --git a/net-analyzer/rrdtool/ChangeLog b/net-analyzer/rrdtool/ChangeLog index 4dc0cc230416..c52e6a12813e 100644 --- a/net-analyzer/rrdtool/ChangeLog +++ b/net-analyzer/rrdtool/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-analyzer/rrdtool # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.112 2007/01/14 23:38:24 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.113 2007/01/24 20:22:15 jokey Exp $ + +*rrdtool-1.2.18 (24 Jan 2007) + + 24 Jan 2007; Markus Ullmann -rrdtool-1.2.6-r1.ebuild, + -rrdtool-1.2.11-r2.ebuild, +rrdtool-1.2.18.ebuild: + Version bump try #3 ( see bug #163179 ), thanks to Frederic Mangeant for + reporting 14 Jan 2007; Jeroen Roovers rrdtool-1.2.15-r3.ebuild: Stable for HPPA (bug #160321). diff --git a/net-analyzer/rrdtool/Manifest b/net-analyzer/rrdtool/Manifest index a7ccdb11cd6c..38441cd7c1e0 100644 --- a/net-analyzer/rrdtool/Manifest +++ b/net-analyzer/rrdtool/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX rrdtool-1.2.15-mem-usage.patch 4039 RMD160 674ac6fd1ec441776d3b364c919411a991baf162 SHA1 8b8f330627021b6de61dd77ee62e4a9e291b2b19 SHA256 a3363e8ac158eaa4179489735f2cfb2b1a7d2f0614bbeefb21a89141ba1f775e MD5 78384e6b77d8f0d4816a7137db475315 files/rrdtool-1.2.15-mem-usage.patch 4039 RMD160 674ac6fd1ec441776d3b364c919411a991baf162 files/rrdtool-1.2.15-mem-usage.patch 4039 @@ -12,9 +15,8 @@ RMD160 098eeee5b79e72b7a52f64791496cd6f33027344 files/rrdtool-1.2.15-no-man.patc SHA256 adf121e31a1cea86ee97af0de71c6d76a666784121185ccb28055f433acff67f files/rrdtool-1.2.15-no-man.patch 951 DIST rrdtool-1.0.49.tar.gz 1466897 RMD160 965cf352b4d3da64fdf44e0af5d1cf95072a283e SHA1 259a8445e429f0f04b59b0a959d965cd5a17eafb SHA256 20acb0aa347f1629c4d5529ab8afbe4986fe820555049af3f905653300e5ea74 DIST rrdtool-1.0.50.tar.gz 1474200 RMD160 96af2ec2831881e167687f65f5fc9bc64c67358b SHA1 399e2bf807e3fbc987eec4c5364dc4cb416ba287 SHA256 42aa7c213dedbd95d33ca84d92f4187880f7e96062c6a3fb05bfb16f77ba2a91 -DIST rrdtool-1.2.11.tar.gz 1003339 RMD160 f294c3dd0e8597d0be23e2aa317774bd626695a6 SHA1 2aa33cbc857318679db03c0b8b42dc1ab18e4d4f SHA256 de1af03b28c1c7db3486f629710e53b6317d55810253d5d15f3add582ef30c69 DIST rrdtool-1.2.15.tar.gz 1043064 RMD160 493e5b108ac363484eb4015c0962945c5fb9fb9e SHA1 4ac695aff26ab193a083c65513aad06ff36bad82 SHA256 b33d68da8a39bb0fc745c0202f3a58e73bfc6a9fd35d71fbd8979d40a5ef7397 -DIST rrdtool-1.2.6.tar.gz 872221 RMD160 f58831b31c57ea45a1086dd0daa01756ecaf4658 SHA1 77eb3155ee2d3c2a8c4edcf6b303bae1ae1d4460 SHA256 abce65fcea0c6a47ba0325a79c2660f72d9a155b825da0a5001f7cdfddd59d0d +DIST rrdtool-1.2.18.tar.gz 1060451 RMD160 6287c61ffe6742ad16d93d3b4352a407713f0241 SHA1 e65c246c3e4cffcf992d3d3e3a844bf5788a92ec SHA256 85e6baa0911e51e0703adb774d6904d0d77cab05180d2875188b35ae7c9b2ebd EBUILD rrdtool-1.0.49.ebuild 2723 RMD160 f0ab21d381a58a4906b6a5509f280a257e2e524b SHA1 27299d3bbef2917db3e8c25f362d9b10251bacef SHA256 6f5f8e0b3b34956cc2edbbd693e85b4cd32f3f96cb2186f3aa18800b6bef898a MD5 b42b584a18854009623d1ab9edfc96ff rrdtool-1.0.49.ebuild 2723 RMD160 f0ab21d381a58a4906b6a5509f280a257e2e524b rrdtool-1.0.49.ebuild 2723 @@ -23,10 +25,6 @@ EBUILD rrdtool-1.0.50.ebuild 2748 RMD160 ee3a11d421f3cf9611954d648bad662d075574a MD5 2e4a97ccbf5a3f7273dc0a89af25fcbf rrdtool-1.0.50.ebuild 2748 RMD160 ee3a11d421f3cf9611954d648bad662d075574ac rrdtool-1.0.50.ebuild 2748 SHA256 cde76112aa61c13e4781ae3527aa2405bbfa75867fec98e98fb2a4f0c690be59 rrdtool-1.0.50.ebuild 2748 -EBUILD rrdtool-1.2.11-r2.ebuild 3003 RMD160 a97bc7a98bb0f879623878653d6659fa5089ee90 SHA1 6a525de1902f3cfcc89f84836571c73057e39ec5 SHA256 d087304f9f3ff89be034a396acdad9d97ae9975f97e6d03ad858354094b809b5 -MD5 1664627499b851fb864369807556036a rrdtool-1.2.11-r2.ebuild 3003 -RMD160 a97bc7a98bb0f879623878653d6659fa5089ee90 rrdtool-1.2.11-r2.ebuild 3003 -SHA256 d087304f9f3ff89be034a396acdad9d97ae9975f97e6d03ad858354094b809b5 rrdtool-1.2.11-r2.ebuild 3003 EBUILD rrdtool-1.2.15-r2.ebuild 2874 RMD160 3138905b4fb8da33745945dbfd84c0e4d28006d8 SHA1 9634feb6772372805c14d20f2c6416d1f52edc57 SHA256 3673d4443fb3040ae243e7938d3710012632f4ce919b5bcfa7f3bc4d51a779a5 MD5 fd879021ca0ddc7a13461cb32cd20c44 rrdtool-1.2.15-r2.ebuild 2874 RMD160 3138905b4fb8da33745945dbfd84c0e4d28006d8 rrdtool-1.2.15-r2.ebuild 2874 @@ -35,14 +33,14 @@ EBUILD rrdtool-1.2.15-r3.ebuild 2910 RMD160 07ccc25ed7305b762c3f59e94b8a1847ad68 MD5 fd1d58f440dab51063a2a605669abea2 rrdtool-1.2.15-r3.ebuild 2910 RMD160 07ccc25ed7305b762c3f59e94b8a1847ad68093b rrdtool-1.2.15-r3.ebuild 2910 SHA256 a1bdbbe91150dcaa725813c2e951df3952bb052bbb08ba11c51282c8a3878d70 rrdtool-1.2.15-r3.ebuild 2910 -EBUILD rrdtool-1.2.6-r1.ebuild 2788 RMD160 c4055a9138eb6e94af32062ba79280482813ae45 SHA1 a666087d78e3106377866ce27a04a411ebec979d SHA256 b6a7a497d9bdda2bda0e6186fbe944a1f776be937804474f7ba91fa9b13682fd -MD5 e722b378905afb3354e4c82d5d12b731 rrdtool-1.2.6-r1.ebuild 2788 -RMD160 c4055a9138eb6e94af32062ba79280482813ae45 rrdtool-1.2.6-r1.ebuild 2788 -SHA256 b6a7a497d9bdda2bda0e6186fbe944a1f776be937804474f7ba91fa9b13682fd rrdtool-1.2.6-r1.ebuild 2788 -MISC ChangeLog 17086 RMD160 7befdb6c8918be0d7a77dcf11be43a278b47ebea SHA1 83a1b3e7ad93e6f349cd023f5203842c4226c798 SHA256 43ea3bd9591e5db010c2cf11582b97498ee4e35766e75c6259aa9669bc329a1e -MD5 66a145806b4b75d48d9ced55215ca4fc ChangeLog 17086 -RMD160 7befdb6c8918be0d7a77dcf11be43a278b47ebea ChangeLog 17086 -SHA256 43ea3bd9591e5db010c2cf11582b97498ee4e35766e75c6259aa9669bc329a1e ChangeLog 17086 +EBUILD rrdtool-1.2.18.ebuild 2882 RMD160 e59084dff446bff8035125207b0a88fbc4ad28c5 SHA1 29c53a1ef2a11654e6652527b4d8d0cfbd21ce14 SHA256 4cc3b8e465520a786ce5d3701e45afe62d5407f9b0f324028fbff15149a0f134 +MD5 3a8adc994ef87b6bb04dc3daad163897 rrdtool-1.2.18.ebuild 2882 +RMD160 e59084dff446bff8035125207b0a88fbc4ad28c5 rrdtool-1.2.18.ebuild 2882 +SHA256 4cc3b8e465520a786ce5d3701e45afe62d5407f9b0f324028fbff15149a0f134 rrdtool-1.2.18.ebuild 2882 +MISC ChangeLog 17335 RMD160 d33e75349dbdf497e18182da933900fb08c4026e SHA1 e3852d55d3fb63950f8f148668cf4fec3756b75a SHA256 b7220d382c6c1676740e15acb36653ef22dcbfa1a7bb510438740d31d2ad4478 +MD5 8bdaffd87f6227d23a66ca97e22f45f4 ChangeLog 17335 +RMD160 d33e75349dbdf497e18182da933900fb08c4026e ChangeLog 17335 +SHA256 b7220d382c6c1676740e15acb36653ef22dcbfa1a7bb510438740d31d2ad4478 ChangeLog 17335 MISC metadata.xml 241 RMD160 b010229ed860b6dadc3faa19006512f195e3ee55 SHA1 01721f8bf6f699f3647589a173ef1941fbd6dd1c SHA256 de63c7fc765937d32e93bda47d365a2e044ad3c6a70caff4ff5916dde97e6a3c MD5 1a739170238a1fae241a8a0df21462e9 metadata.xml 241 RMD160 b010229ed860b6dadc3faa19006512f195e3ee55 metadata.xml 241 @@ -53,15 +51,19 @@ SHA256 92be4e02f4dea82bae2aa9aa72910563d09b11a05b09327a6053e9648650286d files/di MD5 782e5107553dbc7a507987831a70b5c0 files/digest-rrdtool-1.0.50 247 RMD160 f38bd9ccc0e33b5dd499a2a2f279cedbc3d7fb6e files/digest-rrdtool-1.0.50 247 SHA256 bc03acab926e1ac962e48cb11f524fabe81694daf2ad6b78426abad09f9ecc49 files/digest-rrdtool-1.0.50 247 -MD5 aa1bb2ea33072322ad8bdac82242d04b files/digest-rrdtool-1.2.11-r2 247 -RMD160 83c38f2e8801e42bf78745062e3bf8a094e3d237 files/digest-rrdtool-1.2.11-r2 247 -SHA256 8c4da2c7ffee42dd2da4823e3fe3ccaee43b6a64c89565037239e3b47f30ed6f files/digest-rrdtool-1.2.11-r2 247 MD5 d04040e7f409bdc7d2ab4fce17702cdf files/digest-rrdtool-1.2.15-r2 247 RMD160 772add36b866e1107c42ba47f6b9f6e938a758c4 files/digest-rrdtool-1.2.15-r2 247 SHA256 62ab296ac4fc6e30708d669ec3df2e44b159d3b5075b047d2f551d4e1dea6f5b files/digest-rrdtool-1.2.15-r2 247 MD5 d04040e7f409bdc7d2ab4fce17702cdf files/digest-rrdtool-1.2.15-r3 247 RMD160 772add36b866e1107c42ba47f6b9f6e938a758c4 files/digest-rrdtool-1.2.15-r3 247 SHA256 62ab296ac4fc6e30708d669ec3df2e44b159d3b5075b047d2f551d4e1dea6f5b files/digest-rrdtool-1.2.15-r3 247 -MD5 105ab00f490ce2f0372afde45ccd2549 files/digest-rrdtool-1.2.6-r1 241 -RMD160 3425de5ce68bc51b0c1c301cc75956def35af3f2 files/digest-rrdtool-1.2.6-r1 241 -SHA256 b1a53151e3b90098c6124eac6da2dcd5ebff47f1f378709f3c5af62174565743 files/digest-rrdtool-1.2.6-r1 241 +MD5 2d05dc2206c49ebca037710a036614aa files/digest-rrdtool-1.2.18 247 +RMD160 9f4572eb6bd52aa86afb73e9d26814d6213ca5eb files/digest-rrdtool-1.2.18 247 +SHA256 0b03b31deda09a31650d7b63fd33127d065454b1a10b041fd67701ceab01b1f5 files/digest-rrdtool-1.2.18 247 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.1 (GNU/Linux) + +iD8DBQFFt7/Gz974XjDVpbkRAoyiAKDG+w/5C2ExV3N7BItHy7aG0zmerwCgxhLf +y1r95xTXgsK7wdSZ/tfxKEM= +=u4oa +-----END PGP SIGNATURE----- diff --git a/net-analyzer/rrdtool/files/digest-rrdtool-1.2.11-r2 b/net-analyzer/rrdtool/files/digest-rrdtool-1.2.11-r2 deleted file mode 100644 index 7b078aa4d128..000000000000 --- a/net-analyzer/rrdtool/files/digest-rrdtool-1.2.11-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d61c5755cb77207f9ad3584b26e8bf08 rrdtool-1.2.11.tar.gz 1003339 -RMD160 f294c3dd0e8597d0be23e2aa317774bd626695a6 rrdtool-1.2.11.tar.gz 1003339 -SHA256 de1af03b28c1c7db3486f629710e53b6317d55810253d5d15f3add582ef30c69 rrdtool-1.2.11.tar.gz 1003339 diff --git a/net-analyzer/rrdtool/files/digest-rrdtool-1.2.18 b/net-analyzer/rrdtool/files/digest-rrdtool-1.2.18 new file mode 100644 index 000000000000..38372ebccc42 --- /dev/null +++ b/net-analyzer/rrdtool/files/digest-rrdtool-1.2.18 @@ -0,0 +1,3 @@ +MD5 0c116d031275b7e0da1f8326d52d097d rrdtool-1.2.18.tar.gz 1060451 +RMD160 6287c61ffe6742ad16d93d3b4352a407713f0241 rrdtool-1.2.18.tar.gz 1060451 +SHA256 85e6baa0911e51e0703adb774d6904d0d77cab05180d2875188b35ae7c9b2ebd rrdtool-1.2.18.tar.gz 1060451 diff --git a/net-analyzer/rrdtool/files/digest-rrdtool-1.2.6-r1 b/net-analyzer/rrdtool/files/digest-rrdtool-1.2.6-r1 deleted file mode 100644 index 082ff11b025e..000000000000 --- a/net-analyzer/rrdtool/files/digest-rrdtool-1.2.6-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 a152a09aab26849491d493f96941c45d rrdtool-1.2.6.tar.gz 872221 -RMD160 f58831b31c57ea45a1086dd0daa01756ecaf4658 rrdtool-1.2.6.tar.gz 872221 -SHA256 abce65fcea0c6a47ba0325a79c2660f72d9a155b825da0a5001f7cdfddd59d0d rrdtool-1.2.6.tar.gz 872221 diff --git a/net-analyzer/rrdtool/rrdtool-1.2.11-r2.ebuild b/net-analyzer/rrdtool/rrdtool-1.2.18.ebuild similarity index 73% rename from net-analyzer/rrdtool/rrdtool-1.2.11-r2.ebuild rename to net-analyzer/rrdtool/rrdtool-1.2.18.ebuild index a59197eda929..64a06d2bfa21 100644 --- a/net-analyzer/rrdtool/rrdtool-1.2.11-r2.ebuild +++ b/net-analyzer/rrdtool/rrdtool-1.2.18.ebuild @@ -1,8 +1,11 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.11-r2.ebuild,v 1.11 2007/01/05 07:09:32 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.18.ebuild,v 1.1 2007/01/24 20:22:15 jokey Exp $ -inherit perl-module flag-o-matic eutils multilib +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit perl-module flag-o-matic eutils multilib autotools DESCRIPTION="A system to store and display time-series data" HOMEPAGE="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/" @@ -10,20 +13,20 @@ SRC_URI="http://people.ee.ethz.ch/~oetiker/webtools/${PN}/pub/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha ~amd64 arm ~hppa ia64 ~mips ppc ppc64 sh ~sparc ~x86" -IUSE="doc perl python tcl" +KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ~ppc ppc64 sh sparc x86" +IUSE="doc perl python rrdcgi tcl uclibc" RDEPEND="tcl? ( dev-lang/tcl ) >=sys-libs/zlib-1.2.1 >=media-libs/freetype-2.1.5 >=media-libs/libart_lgpl-2.3.16 - >=media-libs/libpng-1.2.5" + >=media-libs/libpng-1.2.5 + rrdcgi? ( >=dev-libs/cgilib-0.5 )" DEPEND="${RDEPEND} perl? ( dev-lang/perl ) python? ( dev-lang/python ) - sys-apps/gawk - >=dev-libs/cgilib-0.5" + sys-apps/gawk" TCLVER="" @@ -38,8 +41,9 @@ src_unpack() { bindings/python/Makefile.* || die "sed failed" sed -i -e 's:\$TCL_PACKAGE_PATH:${TCL_PACKAGE_PATH%% *}:' \ configure.ac - libtoolize --copy --force - autoreconf + epatch "${FILESDIR}"/${PN}-1.2.15-newstyle-resize.patch + use uclibc && epatch "${FILESDIR}"/${PN}-1.2.15-no-man.patch + eautoreconf } pkg_setup() { @@ -62,10 +66,14 @@ src_compile() { use python || myconf="${myconf} --disable-python" if use perl ; then - econf ${myconf} --with-perl-options='PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D}' || \ + econf ${myconf} \ + $(use_enable rrdcgi) \ + --with-perl-options='PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D}' || \ die "econf failed" else - econf ${myconf} --disable-perl || die "econf failed" + econf ${myconf} \ + $(use_enable rrdcgi) \ + --disable-perl || die "econf failed" fi make || die "make failed" @@ -96,14 +104,6 @@ src_install() { rm -Rf "${D}"/usr/lib/perl fi - if use tcl ; then - mv "${S}"/bindings/tcl/tclrrd.so "${S}"/bindings/tcl/tclrrd${PV}.so - insinto /usr/$(get_libdir)/tcl${TCL_VER}/tclrrd${PV} - doins "${S}"/bindings/tcl/tclrrd${PV}.so - echo "package ifneeded Rrd ${PV} [list load [file join \$$dir .. tclrrd${PV}.so]]" \ - >> "${D}"/usr/$(get_libdir)/tcl${TCL_VER}/tclrrd${PV}/pkgIndex.tcl - fi - dodoc CONTRIBUTORS README TODO } diff --git a/net-analyzer/rrdtool/rrdtool-1.2.6-r1.ebuild b/net-analyzer/rrdtool/rrdtool-1.2.6-r1.ebuild deleted file mode 100644 index fdddc00d99a9..000000000000 --- a/net-analyzer/rrdtool/rrdtool-1.2.6-r1.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.6-r1.ebuild,v 1.15 2007/01/05 07:09:32 flameeyes Exp $ - -inherit perl-module flag-o-matic eutils multilib - -DESCRIPTION="A system to store and display time-series data" -HOMEPAGE="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/" -SRC_URI="http://people.ee.ethz.ch/~oetiker/webtools/${PN}/pub/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ~mips ppc sparc x86" -IUSE="doc perl tcl" - -DEPEND="perl? ( dev-lang/perl ) - sys-apps/gawk - >=sys-libs/zlib-1.2.1 - >=media-libs/freetype-2.1.5 - >=media-libs/libart_lgpl-2.3.16 - >=media-libs/libpng-1.2.5 - >=media-libs/gd-1.8.3 - >=dev-libs/cgilib-0.5" -RDEPEND="tcl? ( dev-lang/tcl )" - -TCLVER="" - -src_unpack() { - unpack ${A} - cd ${S} - sed -i -e 's::"../../src/rrd_\1":g' \ - bindings/tcl/tclrrd.c || die "sed failed" - sed -i -e 's:-lrrd_private:-ltcl -lrrd:' \ - bindings/tcl/Makefile.* || die "sed failed" - sed -i -e 's:^\(LIBDIRS\s*= .*-L\)\.\./src/.libs:\1../../src/.libs/:' \ - bindings/tcl/Makefile.in || die "sed failed" -} - -pkg_setup() { - use perl && perl-module_pkg_setup -} - -src_compile() { - filter-mfpmath sse - filter-flags -ffast-math - - local myconf - myconf="--datadir=/usr/share --enable-shared" - - if use tcl ; then - myconf="${myconf} --with-tcllib=/usr/$(get_libdir)" - else - myconf="${myconf} --without-tcllib" - fi - - if use perl ; then - econf ${myconf} --with-perl-options='PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D}' || die "econf failed" - else - econf ${myconf} --disable-perl || die "econf failed" - fi - - make || die "make failed" -} - -src_install() { - einstall || die - - # this package completely ignores mandir settings - - - rm -rf ${D}/usr/doc - rm -rf ${D}/usr/examples - rm -rf ${D}/usr/shared - - if use doc ; then - doman doc/*.1 - dohtml doc/*.html - dodoc doc/*.pod - dodoc doc/*.txt - insinto /usr/share/doc/${PF}/examples - doins examples/* - fi - - - if use perl ; then - perlinfo - mytargets="site-perl-install" - perl-module_src_install || die - - # remove duplicate installation into /usr/lib/perl - rm -Rf ${D}/usr/lib/perl - fi - - if use tcl ; then - mv ${S}/bindings/tcl/tclrrd.so ${S}/bindings/tcl/tclrrd${PV}.so - insinto /usr/$(get_libdir)/tcl${TCL_VER}/tclrrd${PV} - doins ${S}/bindings/tcl/tclrrd${PV}.so - echo "package ifneeded Rrd ${PV} [list load [file join \$$dir .. tclrrd${PV}.so]]" \ - >> ${D}/usr/$(get_libdir)/tcl${TCL_VER}/tclrrd${PV}/pkgIndex.tcl - fi - - dodoc COPY* CONTR* README TODO -} - -pkg_preinst() { - use perl && perl-module_pkg_preinst -} - -pkg_postinst() { - use perl && perl-module_pkg_postinst -} - -pkg_prerm() { - use perl && perl-module_pkg_prerm -} - -pkg_postrm() { - use perl && perl-module_pkg_postrm -} -- 2.26.2