From 35c81e23c1684a93d6d95cb5d6b06aa3aff7825e Mon Sep 17 00:00:00 2001 From: layman Date: Thu, 5 Jan 2017 22:04:04 +0800 Subject: [PATCH] twister: upgrade dependency sys-libs/db --- net-p2p/twister/Manifest | 1 + net-p2p/twister/twister-0.9.36-r1.ebuild | 51 ++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 net-p2p/twister/twister-0.9.36-r1.ebuild diff --git a/net-p2p/twister/Manifest b/net-p2p/twister/Manifest index 5a0af51..b87d72c 100644 --- a/net-p2p/twister/Manifest +++ b/net-p2p/twister/Manifest @@ -5,5 +5,6 @@ DIST 7458d091664bb488dab3eac22966f176ed5d7640.tar.gz 6215438 SHA256 3431d22cf745 DIST twister-0.9.34.tar.gz 6213664 SHA256 b250508c7d1c72d1d0dcb2377f65199d1af27e3da9a0f4b4277d818304b101bf SHA512 44308e19dc518fcf9a1407e71985ececaee7460bacab593264a2ffadd5c15bc3cae9318cb1843e865f636de62c51e158635d0b342433a5595c3b4c534f91ae22 WHIRLPOOL 728a76360532250b96bc0ee4d2a18160326e14bcd784e44e8846b02090950afe3232c7eed7dc8a58f50ea0915037ee2e545361f5cff471f0727021ace33a715d EBUILD twister-0.9.34-r1.ebuild 1143 SHA256 2b446129b3a48abd7fbcab7ba06a8e2b9093f64d8081b7887ac116986f68562c SHA512 bd9722633498b4a2916960f3deda3386abb56dec793505916165aef528f6258f0923ee76e8303d2c39ef78abe593ea0a6d44a657a88eb02151dd36f4d9a6bc34 WHIRLPOOL 2d5c3197d8097514abd6f1b18b449aed683e41f56d5e1cb22d5f59c253f38f0804f3613e81e5e2f92f3dba2c934825f697c2f3937cdc3b2b03b964473c2f56eb EBUILD twister-0.9.34.ebuild 1102 SHA256 497efaeba096b750b5027106b9da9a0d070033d72bd8dbc9603504d0c5766d5e SHA512 fe088baabfb573a9fb75a0630ca2d018af6fe7113c271c1bb40b49dd6b9dfe817dd994c5b79cbe5e2d7687b06e75db22782ba85166275ef1e17156f0239d65c5 WHIRLPOOL 3a515e1f485a41020d8e885d72d01178355dd0aa9a4a718814794bb92b8d006f3831e4c97de4efe2df93e61926143a7b19ad82461f41bd19a3cef788676f48f1 +EBUILD twister-0.9.36-r1.ebuild 1145 SHA256 6a383fcddbf4b1e3a1ff702cf483e9d21bf720382847ed43d07f168e4c893eb1 SHA512 24e6d75b5669b4727f3a4f73b5ba79504a757ad941b2da4df916c6c0efdeb33b3ffe9fd5f6d076f96fb6edfbb986bb7baa24594579d9b9d03e796f9d24c8a4af WHIRLPOOL 5d0b72c600a8b447661c62ce0fdcb9491ba96f4ea4f8bae12b21b598073ff0459d902650e10853cba691b533333f2c1ec0894ca41d47cd7b7f1f40411537ffdf EBUILD twister-0.9.36.ebuild 1143 SHA256 a7e9dbe6b89528ca772ecb6ba53b91592158e6e76ca2d7365807d2bccc66212f SHA512 84c57a79ac4b3cd73348701cef3468f96f5b3a4a4121fec713207c2a8a3bfbe694bd56e8a593d64d8c4c330f1310d120c234beacedd2e1ae61ecdc9d8224782f WHIRLPOOL 3ce494473764b24ef35a3e446b3253745b34ba558590d7d408dcf596507cc8d6e44b3730fd16aee0a755b2bf23c5c85e1d512f2367a2e42c048759ee7bffce05 MISC metadata.xml 233 SHA256 64eef535474fbc710fadceed478a7cbee7054993e2b41afc8a624e26040aa9de SHA512 35143a73e1054a65d6ce2adf66b8d3b520dca3aeefe540dcbeee509319378e760c3bc6d42a9ae3829422368e5802737264909af52a910a4e4158b0bcfa253d1c WHIRLPOOL 2a0321f1c2f54853fce3a1c1c0a60738674217fb621411bcd62cfa25e427cef1ccb375ce25595af117a1dc4e1f85150df88321fc8af78a019bf09deeb395e60b diff --git a/net-p2p/twister/twister-0.9.36-r1.ebuild b/net-p2p/twister/twister-0.9.36-r1.ebuild new file mode 100644 index 0000000..263f6a7 --- /dev/null +++ b/net-p2p/twister/twister-0.9.36-r1.ebuild @@ -0,0 +1,51 @@ +EAPI=5 +inherit eutils + +COMMIT="54b1d9e9a3865462257944f5010abd6d42ea28bd" + +DESCRIPTION="Peer-to-peer microblogging" +HOMEPAGE="http://twister.net.co/" +SRC_URI="https://github.com/miguelfreitas/twister-core/archive/${COMMIT}.tar.gz" +RESTRICT="mirror" + +LICENSE="MIT BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="tk" + +RDEPEND="dev-libs/openssl:*[-bindist] + >=sys-libs/db-4.8 + dev-libs/boost + net-libs/miniupnpc + tk? ( || ( dev-lang/python:2.7[tk] dev-lang/python:2.6[tk] ) )" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/twister-core-${COMMIT}" + +src_configure() { + ./bootstrap.sh +} + +src_compile() { + emake +} + +src_install() { + einstall + + use tk || rm -f "${D}/usr/bin/twister-control" + use tk || rm -f "${D}/usr/share/applications/twister-control.desktop" + + exeinto "/usr/bin/" + doexe "${FILESDIR}/twister-html-install" + doexe "${FILESDIR}/twister-html-update" +} + +pkg_postinst() { + elog "Befor running twister, each user must set up twister's HTML files" + elog "in ~/.twister/html and the configs in ~/.twister/twister.conf." + elog "They can do this by running twister-html-install." + elog "" + elog "To keep the HTML files up to date, run twister-html-update." +}