commit 3b4354f8ee9e33fc9191b8d1519366d623f956f1
parent 1d2e6d6f3e5590f52ae53843814a333d351aefe8
Author: Josuah Demangeon <mail@josuah.net>
Date: Sun, 22 Jul 2018 22:19:58 +0200
pack/transmission: fixed
Diffstat:
4 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/pack/libcurl/build b/pack/libcurl/build
@@ -0,0 +1,4 @@
+#!/bin/sh -ex
+
+./configure --prefix="$PREFIX"
+make install
diff --git a/pack/libcurl/tar b/pack/libcurl/tar
@@ -0,0 +1 @@
+https://curl.haxx.se/download/curl-7.61.0.tar.gz
diff --git a/pack/transmission/build b/pack/transmission/build
@@ -1,4 +1,27 @@
#!/bin/sh -ex
+
+export PKG_CONFIG=$(which true)
+
+export LIBCURL_LIBS=-lcurl
+export LIBCURL_CFLAGS="-I$DEST/include"
+export LIBCURL_LDFLAGS="-L$DEST/lib"
+
+export LIBEVENT_LIBS=-levent
+export LIBEVENT_CFLAGS="-I$DEST/lib"
+export LIBEVENT_LDFLAGS="-L$DEST/lib"
+
+export ZLIB_LIBS=-lz
+export ZLIB_CFLAGS="-I$DEST/lib"
+export ZLIB_LDFLAGS="-L$DEST/lib"
+
+export OPENSSL_LIBS='-lssl -lcrypto'
+export OPENSSL_CFLAGS="-I$DEST/lib"
+export OPENSSL_LDFLAGS="-L$DEST/lib"
+
./configure --prefix="$PREFIX" \
+ --with-crypto=openssl \
--disable-nls \
- --without-gtk
+ --without-gtk \
+ --without-systemd-daemon
+
+make install
diff --git a/pack/transmission/dep b/pack/transmission/dep
@@ -0,0 +1,4 @@
+libcurl
+libevent
+libz
+libressl