mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Added bep & patch for v2.01. Builds and lightly tested.
This commit is contained in:
25
net-p2p/transmission/patches/transmission-2.01.patch
Normal file
25
net-p2p/transmission/patches/transmission-2.01.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
diff -Naur transmission-1.93/libtransmission/JSON_parser.c transmission-1.93-haiku/libtransmission/JSON_parser.c
|
||||
--- transmission-1.93/libtransmission/JSON_parser.c 2010-05-01 21:35:04.035389440 +0000
|
||||
+++ transmission-1.93-haiku/libtransmission/JSON_parser.c 2010-05-05 23:28:25.131858432 +0000
|
||||
@@ -75,6 +75,10 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
+/* This can be removed once http://dev.haiku-os.org/ticket/3408 is fixed */
|
||||
+#ifdef __HAIKU__
|
||||
+# define strtold strtod
|
||||
+#endif
|
||||
|
||||
#define true 1
|
||||
#define false 0
|
||||
diff -Naur transmission-1.93/third-party/miniupnp/connecthostport.c transmission-1.93-haiku/third-party/miniupnp/connecthostport.c
|
||||
--- transmission-1.93/third-party/miniupnp/connecthostport.c 2010-05-01 21:35:46.041680896 +0000
|
||||
+++ transmission-1.93-haiku/third-party/miniupnp/connecthostport.c 2010-05-05 23:24:18.628621312 +0000
|
||||
@@ -29,6 +29,7 @@
|
||||
#ifndef USE_GETHOSTBYNAME
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
+#include <sys/select.h>
|
||||
#endif /* #ifndef USE_GETHOSTBYNAME */
|
||||
#endif /* #else WIN32 */
|
||||
|
||||
29
net-p2p/transmission/transmission-2.01.bep
Normal file
29
net-p2p/transmission/transmission-2.01.bep
Normal file
@@ -0,0 +1,29 @@
|
||||
DESCRIPTION="Transmission"
|
||||
HOMEPAGE="http://www.transmissionbt.com/"
|
||||
SRC_URI="http://mirrors.m0k.org/transmission/files/transmission-2.01.tar.xz"
|
||||
CHECKSUM_MD5="87f939ee9adfaf78a674e9c5c01809bb"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
||||
|
||||
# pkgconfig is only a build dependency
|
||||
# note: intlool, XML-Parser, & gettext are now required
|
||||
DEPEND="dev-util/pkgconfig >= 0.23
|
||||
net-misc/curl >= 7.20.1
|
||||
dev-libs/libevent >= 1.4.11"
|
||||
|
||||
BUILD {
|
||||
cd transmission-2.01
|
||||
autoreconf -vfi
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd transmission-2.01
|
||||
make install
|
||||
}
|
||||
LICENSE="Transmission
|
||||
MIT
|
||||
GNU GPL v2"
|
||||
COPYRIGHT="2005-2010. All code is copyrighted by the respective authors."
|
||||
Reference in New Issue
Block a user