diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-02-13 20:06:49 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-02-13 20:06:49 +0000 |
commit | 2d49bfe4a003b874280293bfce44c3e4a118e1f3 (patch) | |
tree | 74d573174bf4b00f774026f369d1a0c9bffc33ad /net-libs/libutp | |
parent | add bindist restriction (diff) | |
download | gentoo-2-2d49bfe4a003b874280293bfce44c3e4a118e1f3.tar.gz gentoo-2-2d49bfe4a003b874280293bfce44c3e4a118e1f3.tar.bz2 gentoo-2-2d49bfe4a003b874280293bfce44c3e4a118e1f3.zip |
initial commit
(Portage version: 2.2.0_alpha162/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'net-libs/libutp')
-rw-r--r-- | net-libs/libutp/ChangeLog | 10 | ||||
-rw-r--r-- | net-libs/libutp/Manifest | 4 | ||||
-rw-r--r-- | net-libs/libutp/libutp-0_pre20130213.ebuild | 44 | ||||
-rw-r--r-- | net-libs/libutp/metadata.xml | 8 |
4 files changed, 66 insertions, 0 deletions
diff --git a/net-libs/libutp/ChangeLog b/net-libs/libutp/ChangeLog new file mode 100644 index 000000000000..917d641f4351 --- /dev/null +++ b/net-libs/libutp/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-libs/libutp +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libutp/ChangeLog,v 1.1 2013/02/13 20:06:49 ssuominen Exp $ + +*libutp-0_pre20130213 (13 Feb 2013) + + 13 Feb 2013; Samuli Suominen <ssuominen@gentoo.org> + +libutp-0_pre20130213.ebuild: + Initial commit; could be used by net-p2p/transmission after unbundling. + diff --git a/net-libs/libutp/Manifest b/net-libs/libutp/Manifest new file mode 100644 index 000000000000..3af034dbc72c --- /dev/null +++ b/net-libs/libutp/Manifest @@ -0,0 +1,4 @@ +DIST libutp-0_pre20130213.tar.xz 58812 SHA256 8bc1e74d82cdec6985de860f22efaf0d52d43b94009063d9352b0effae9b3c3b SHA512 bf986db7a691c08a27b830e86c4d1a05b59ead5694a2c8e6ec70e5c745182455f184b7493b12c7ebeac4905e3929c9fddeca2c5890df69839dc2320191054284 WHIRLPOOL 26ef5b0629c9b11aef63da32851f835a9878a01bfbdce2e087e54bbfd8c246288ced78879cb59235133a345839c49c1f1091ef66c0e349c220485b127b705a27 +EBUILD libutp-0_pre20130213.ebuild 836 SHA256 8229fe57b8ff90427a5d92dc4d0c30f86cb4b9e16726c1f221aad078307bc954 SHA512 a8b9c47ab3d37f8a53231e5cd2f3b50824822c2cca66e4fa7250095b68f67a2350434c77d1773d433a35d96b4983de4f4539a014e65f077e6419d8872bef36c3 WHIRLPOOL 3f08f0c1c0007c406d1b148e3e5504615fadd8fd8884f18cb561fc8a137c9c40d77f04f39b774c81e93bc741be0ce7b44ce384700e7ebe7ff0eca648373f210e +MISC ChangeLog 314 SHA256 e239a85c876746933e06d02546e5cefa27ded70f236aa1a5fe6edc2df31752cd SHA512 f67741b3cc75e53e7ddf02f33073c7210ad043a26846ab3dabd9b42416534434a65f3358ca8dbf2cf1e4794c805b2c2c2533bac5d986a1be5fb713cda6951c62 WHIRLPOOL c6da90d9fd4538420597e06ce5073e1e8fc3e6a00866c2cac9ce66d87afb24dc72b4b23978dea6b8fe05e043ced2885948d84f3be627ef3043d5d3d2deb7adbd +MISC metadata.xml 237 SHA256 7a2e6c7ce71faf6cb99ccf26a358a88149eb6170ed7f7f89034862873f43b08f SHA512 22ffee20a0ec92bb16a0d1180989753ab208ec3d79717c1c0f6bb5aba3c5b575553a99a3be39078ce0a0dfc7cce706f9e99aecc6b1848e8b693c099580ec0478 WHIRLPOOL 6461aab51b7f01da5d5e6c27d587799936294d901c2bc038d0fcd90477a5bfd173c95e40cdbfc616d7274f9a9aec69d7d0816758ace2c0e8693e3c527ade384a diff --git a/net-libs/libutp/libutp-0_pre20130213.ebuild b/net-libs/libutp/libutp-0_pre20130213.ebuild new file mode 100644 index 000000000000..615fe8b2d22d --- /dev/null +++ b/net-libs/libutp/libutp-0_pre20130213.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libutp/libutp-0_pre20130213.ebuild,v 1.1 2013/02/13 20:06:49 ssuominen Exp $ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="uTorrent Transport Protocol library" +HOMEPAGE="http://github.com/bittorrent/libutp" +SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_prepare() { + # TODO: Build shared library too! + + sed -i \ + -e "s:g++:$(tc-getCXX):" \ + -e '/^CXXFLAGS/s:=:+=:' \ + -e 's:-Wall:& $(CFLAGS):' \ + Makefile || die + + sed -i \ + -e "s:g++:$(tc-getCXX):" \ + -e 's:-Wall:$(LDFLAGS) $(CXXFLAGS) &:' \ + utp_{file,test}/Makefile || die +} + +src_compile() { + local d + for d in . utp_file utp_test; do + emake -C ${d} + done +} + +src_install() { + dolib.a ${PN}.a + dodoc README.md + + dobin utp_file/utp_{recv,send} utp_test/utp_test +} diff --git a/net-libs/libutp/metadata.xml b/net-libs/libutp/metadata.xml new file mode 100644 index 000000000000..5854c2c6b09e --- /dev/null +++ b/net-libs/libutp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>ssuominen@gentoo.org</email> + <name>Samuli Suominen</name> + </maintainer> +</pkgmetadata> |