diff options
author | James Cloos <cloos@jhcloos.com> | 2014-04-12 11:20:45 -0400 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2014-04-12 11:20:45 -0400 |
commit | 4371d77abeed217f733ddfb17ca2e762200a7404 (patch) | |
tree | add607ac3058028fa1469e13070c1c0fc148f838 /net-libs | |
parent | e1275756a6271a793591118f22e9da9fcfe71fef (diff) |
net-libs/rohc: bump version
Signed-off-by: James Cloos <cloos@jhcloos.com>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/rohc/Manifest | 6 | ||||
-rw-r--r-- | net-libs/rohc/rohc-1.3.3.ebuild | 79 |
2 files changed, 82 insertions, 3 deletions
diff --git a/net-libs/rohc/Manifest b/net-libs/rohc/Manifest index 83be8dd..1901551 100644 --- a/net-libs/rohc/Manifest +++ b/net-libs/rohc/Manifest @@ -1,3 +1,3 @@ -DIST rohc-1.3.2.tar.gz 1255354 SHA256 838fd5f5e45bc9d0e5a43814976f4f5e46be36d0e9b6d77791bdc480fdc43471 WHIRLPOOL 3410c68eae2a5fd6b4f016df77e05b2bec48235063c24c0df739dfb5c0598099bc42f7359542bbd399fb8ef6ffc874618d1085d67bf346d7225db7b3e3ad7c02 -DIST rohc-doc-1.3.2.tar.gz 4063911 SHA256 49a2b7c1425e21c79b4d9a6279f07aa31d473b6f5eb205bb29f63c9b678143e4 WHIRLPOOL f49103d3b02c4fca5e1bf1541f0e0ebf36689d2625b6a6a454f2d650b874d7671b9dcb6658f4727bee9435cff23a6ccc55fb35829992382a070391616d47ecd8 -DIST rohc-tests-1.3.2.tar.gz 36635227 SHA256 25b48c1cbe0f414fd13e7885c68dcce1723d2c3cce86638b66b3bf42b071226f WHIRLPOOL 0e6baa32c8dab47a2c2451a2fc5c5eb88249d6731e3d23d3fe4aead134a33d41404fbaa8b4e2802764b6bb5c45c80820ca07bb82217a95ff54eee9c95becd606 +DIST rohc-1.3.3.tar.gz 1256282 SHA256 ff58633b0201d79f56ed1e87f19720133498d15ae61137926739a91664ce7c69 WHIRLPOOL 665b53b1aadb60a07c9430cb15617f0f0c46f3cda3454e059d252e8666ddca8ac25c81b67525755ff1f6d3f0ec5b2db62c72a0abb133baa46e3a00d204d357c9 +DIST rohc-doc-1.3.3.tar.gz 4061318 SHA256 9b68282998ee0bc144ca6b7d3bfdc7278270966fc79a10127aeee9ae6d931041 WHIRLPOOL 38939b4a888d2be2c9b46a9e762e88fafb42cdae8768ba5825cd43115a0cb5562800c9241764e8c6d530ce730754f90e95f000ea19454b4906c3c8618de7cfda +DIST rohc-tests-1.3.3.tar.gz 36868828 SHA256 89486aafdbcf92c6f967a8ab91269be6bfadb87a1a50940195eed9ec5c993abc WHIRLPOOL 0110ecdcdcb77eb4dd94ccc4fb54f2d56f3bbd06b5e8f4c19b293f7abea3ac6d5b0604dd58bb358d07c963f3c6e82702e8b5ab9148cde13e4ff17b674f777014 diff --git a/net-libs/rohc/rohc-1.3.3.ebuild b/net-libs/rohc/rohc-1.3.3.ebuild new file mode 100644 index 0000000..3f6fedd --- /dev/null +++ b/net-libs/rohc/rohc-1.3.3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +DESCRIPTION="A free and efficient efficient library for ROHC compression" +HOMEPAGE="http://launchpad.net/rohc" +SRC_URI="https://launchpad.net/${PN}/1.3.x/${PV}/+download/${P}.tar.gz + test? ( https://launchpad.net/${PN}/1.3.x/${PV}/+download/${PN}-tests-${PV}.tar.gz ) + doc? ( https://launchpad.net/${PN}/1.3.x/${PV}/+download/${PN}-doc-${PV}.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~arm ~amd64" +IUSE="debug doc rtp-bit-type test" + +DEPEND="test? ( net-libs/libpcap ) + doc? ( app-doc/doxygen[latex] + sci-visualization/gnuplot )" + +src_prepare() { + + # the traffic captures for tests are in a separate archive + # this saves bandwidth if tests are disabled + if use test ; then + unpack ${PN}-tests-${PV}.tar.bz2 \ + || die "failed to unpack network captures for tests" + fi +} + +src_configure() { + + local myconf + + myconf=" + $(use_enable rtp-bit-type) + $(use_enable test rohc-tests)" + + # configure log level + if use debug ; then + myconf="${myconf} --enable-rohc-debug=3" + else + myconf="${myconf} --enable-rohc-debug=0" + fi + + # configure the library + econf ${myconf} || die "failed to configure library" + + # build the library + emake || die "failed to build library" + + # build HTML documentation and perf graphs + if use doc ; then + emake doc || die "failed to generate HTML documentation" + emake measures || die "failed generate perf graphs" + fi +} + +src_install() { + + # install libraries but not useless *.la files + emake DESTDIR="${D}" install || die "failed to install library" + for lib in common comp decomp ; do + rm -f ${D}/usr/lib/librohc_${lib}.la + done + + # install README/INSTALL... files + dodoc README INSTALL COPYING AUTHORS ChangeLog \ + || die "failed to install README, INSTALL... files" + + # install HTML documentation and perf graphs + if use doc ; then + dohtml -r doc/html/* || die "failed to install HTML documentation" + docinto graphs || die "failed to create dir for perf graphs" + dodoc measures/*/*.png || die "failed to install perf graphs" + fi +} + |