diff options
author | Patrick Zimmermann (moHiJ) <patrick@zakweb.de> | 2007-03-06 20:49:06 +0000 |
---|---|---|
committer | Patrick Zimmermann (moHiJ) <patrick@zakweb.de> | 2007-03-06 20:49:06 +0000 |
commit | 3770366dd75784c9de99cffc5406089870483310 (patch) | |
tree | 8915e30ec011bb459d5902b0df2b159b873e229f /net-libs | |
parent | new USE flag 'plus' for media-libs/freeimage (diff) | |
download | sunrise-reviewed-3770366dd75784c9de99cffc5406089870483310.tar.gz sunrise-reviewed-3770366dd75784c9de99cffc5406089870483310.tar.bz2 sunrise-reviewed-3770366dd75784c9de99cffc5406089870483310.zip |
net-libs/raknet: New ebuild for bug 164721 thanks to Renaud Chaput
svn path=/sunrise/; revision=3151
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/raknet/ChangeLog | 8 | ||||
-rw-r--r-- | net-libs/raknet/Manifest | 20 | ||||
-rw-r--r-- | net-libs/raknet/files/digest-raknet-2.521 | 3 | ||||
-rw-r--r-- | net-libs/raknet/files/raknet-2.521-gentoo.diff | 55 | ||||
-rw-r--r-- | net-libs/raknet/metadata.xml | 5 | ||||
-rw-r--r-- | net-libs/raknet/raknet-2.521.ebuild | 43 |
6 files changed, 134 insertions, 0 deletions
diff --git a/net-libs/raknet/ChangeLog b/net-libs/raknet/ChangeLog new file mode 100644 index 000000000..b234403e2 --- /dev/null +++ b/net-libs/raknet/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-libs/raknet +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 06 Mar 2007; Patrick Zimmermann (moHiJ) <patrick@zakweb.de> + +raknet-2.521.ebuild, +files/raknet-2.521-gentoo.diff, +metadata.xml: + New ebuild for bug 164721 thanks to Renaud Chaput + diff --git a/net-libs/raknet/Manifest b/net-libs/raknet/Manifest new file mode 100644 index 000000000..859e2014f --- /dev/null +++ b/net-libs/raknet/Manifest @@ -0,0 +1,20 @@ +AUX raknet-2.521-gentoo.diff 1972 RMD160 93c8e972c992da7194ec71d330fd74995006c61b SHA1 355a55f2213da5456bb478feec87931c6c1f491d SHA256 9bc25397669c2f4b71c8029b2c20b101ba6036388eba815b630141c45de6b673 +MD5 2225564ee46e07fea2966c59bf0614fa files/raknet-2.521-gentoo.diff 1972 +RMD160 93c8e972c992da7194ec71d330fd74995006c61b files/raknet-2.521-gentoo.diff 1972 +SHA256 9bc25397669c2f4b71c8029b2c20b101ba6036388eba815b630141c45de6b673 files/raknet-2.521-gentoo.diff 1972 +DIST raknet-2.521.tgz 4896602 RMD160 e050ba6899d4b8e184cb6e910872c381aa22da89 SHA1 f3558a2b062e8f97286995f8e0f67e4b4f221d06 SHA256 b100f557992adf40d5c3794c395765327371916003a42ed6cdc632b17e84e5b2 +EBUILD raknet-2.521.ebuild 995 RMD160 21f6d7a09d0e993ba8769cc48256fbb1201e2582 SHA1 31fa6c4e47a9bd4d397c06ab006d0610004b647e SHA256 6c83639675e7f07c5ab5f9b0b5ab5897686bff634172266bba15df3dbe94853f +MD5 a3056aa5752a099ee9b52477b6027edf raknet-2.521.ebuild 995 +RMD160 21f6d7a09d0e993ba8769cc48256fbb1201e2582 raknet-2.521.ebuild 995 +SHA256 6c83639675e7f07c5ab5f9b0b5ab5897686bff634172266bba15df3dbe94853f raknet-2.521.ebuild 995 +MISC ChangeLog 303 RMD160 fc09283447a0da9523cc4b95643060d6e7ea4fa5 SHA1 16fed9f6c14a3c79befbaaebe95bbf66854c3dca SHA256 d8caa3d48a7457c34c49023f475659a5fc2a1d2d72be9c6908a75eaf4d7680ff +MD5 95d220f3722102230e159809732492c1 ChangeLog 303 +RMD160 fc09283447a0da9523cc4b95643060d6e7ea4fa5 ChangeLog 303 +SHA256 d8caa3d48a7457c34c49023f475659a5fc2a1d2d72be9c6908a75eaf4d7680ff ChangeLog 303 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 +MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 +RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 +SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 +MD5 c065273bbe3793a93a4bcd4903424b78 files/digest-raknet-2.521 232 +RMD160 76e1256aa49c450d86cfbc02c50c447b709603f6 files/digest-raknet-2.521 232 +SHA256 b175a80e5b5680d018b6af9dafe8bef26421ede47e84f5d099e67e17c021e187 files/digest-raknet-2.521 232 diff --git a/net-libs/raknet/files/digest-raknet-2.521 b/net-libs/raknet/files/digest-raknet-2.521 new file mode 100644 index 000000000..03dc74bc1 --- /dev/null +++ b/net-libs/raknet/files/digest-raknet-2.521 @@ -0,0 +1,3 @@ +MD5 788351df2bd071efc7c806538c0b25b6 raknet-2.521.tgz 4896602 +RMD160 e050ba6899d4b8e184cb6e910872c381aa22da89 raknet-2.521.tgz 4896602 +SHA256 b100f557992adf40d5c3794c395765327371916003a42ed6cdc632b17e84e5b2 raknet-2.521.tgz 4896602 diff --git a/net-libs/raknet/files/raknet-2.521-gentoo.diff b/net-libs/raknet/files/raknet-2.521-gentoo.diff new file mode 100644 index 000000000..f7b355c26 --- /dev/null +++ b/net-libs/raknet/files/raknet-2.521-gentoo.diff @@ -0,0 +1,55 @@ +--- Makefile.old 2007-01-31 16:58:16.000000000 +0100 ++++ Makefile 2007-01-31 16:27:28.000000000 +0100 +@@ -1,6 +1,6 @@ + include makefile.defs
+
+-all: static shared voicestatic voiceshared
++all: static shared
+
+ static:
+ make -C Source "BASE_DIR=$(PWD)" static
+@@ -8,25 +8,14 @@ static:
+ shared:
+ make -C Source "BASE_DIR=$(PWD)" shared
+
+-voicestatic:
+- make -C Source/RakVoice "BASE_DIR=$(PWD)" voicestatic
+-
+-voiceshared:
+- make -C Source/RakVoice "BASE_DIR=$(PWD)" voiceshared
+-
+ clean:
+ make -C Source "BASE_DIR=$(PWD)" clean
+- make -C Source/RakVoice "BASE_DIR=$(PWD)" clean
+
+ install:
+ rm -f $(LIBS_DIR)/libraknet.so.$(VERSION)
+ rm -f $(LIBS_DIR)/libraknet.so
+- rm -f $(LIBS_DIR)/librakvoice.so.$(VERSION)
+- rm -f $(LIBS_DIR)/librakvoice.so
+ cp $(PWD)/Lib/linux/libraknet.so.$(VERSION) $(LIBS_DIR)/
+- ln -s $(LIBS_DIR)/libraknet.so.$(VERSION) $(LIBS_DIR)/libraknet.so
+- cp $(PWD)/Lib/linux/librakvoice.so.$(VERSION) $(LIBS_DIR)/
+- ln -s $(LIBS_DIR)/librakvoice.so.$(VERSION) $(LIBS_DIR)/librakvoice.so
++ ln -s $(LIBS_DIR)/libraknet.so.$(VERSION) libraknet.so
+ mkdir -p $(INCLUDE_DIR)/raknet
+ cp -r $(PWD)/Include/* $(INCLUDE_DIR)/raknet
+ # mkdir $(INCLUDE_DIR)/RakVoice;
+@@ -38,6 +27,4 @@ install:
+ uninstall:
+ rm -f $(LIBS_DIR)/libraknet.so.$(VERSION)
+ rm -f $(LIBS_DIR)/libraknet.so
+- rm -f $(LIBS_DIR)/librakvoice.so.$(VERSION)
+- rm -f $(LIBS_DIR)/librakvoice.so
+ rm -rf $(INCLUDE_DIR)/raknet
+--- Source/Makefile.old 2007-01-31 16:58:26.000000000 +0100 ++++ Source/Makefile 2007-01-31 16:49:14.000000000 +0100 +@@ -5,7 +5,7 @@ all: shared static
+ shared:
+ mkdir -p $(BASE_DIR)/Lib/linux/
+ $(CC) $(DEBUG) -I$(INCLUDE) -w -c *.cpp
+- $(CC) $(DEBUG) -shared -Wl-soname,libraknet.so.2 -o $(BASE_DIR)/Lib/linux/libraknet.so.$(VERSION) *.o $(LIBS)
++ $(CC) $(DEBUG) -shared -Wl,-soname,libraknet.so.2 -o $(BASE_DIR)/Lib/linux/libraknet.so.$(VERSION) *.o $(LIBS)
+
+ static:
+ mkdir -p $(BASE_DIR)/Lib/linux/
diff --git a/net-libs/raknet/metadata.xml b/net-libs/raknet/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/net-libs/raknet/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> diff --git a/net-libs/raknet/raknet-2.521.ebuild b/net-libs/raknet/raknet-2.521.ebuild new file mode 100644 index 000000000..94b145768 --- /dev/null +++ b/net-libs/raknet/raknet-2.521.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Multiplayer game network engine" +HOMEPAGE="http://www.rakkarsoft.com/" +SRC_URI="http://perso.renchap.com/${P}.tgz" + +LICENSE="CCPL-Attribution-NonCommercial-2.5" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.diff + ebegin "Setting makefile variables" + echo "VERSION = ${PV}" >> ${S}/makefile.defs + echo "LIBS_DIR = ${D}/usr/lib" >> ${S}/makefile.defs + echo "INCLUDE_DIR = ${D}/usr/include" >> ${S}/makefile.defs + eend +} + +src_compile() { + emake -j1 || die "Error: emake failed!" +} + +src_install() { + dolib.so Lib/linux/libraknet.so.${PV} + dosym /usr/lib/libraknet.so.${PV} /usr/lib/libraknet.so + insinto /usr/include/raknet + doins Include/* + if use doc; then # if the useflag doc is enabled we copy our readme as well + dodoc readme.txt + dohtml Help/* + fi +} |