mirror of
https://github.com/twisterarmy/gentoo-twister-overlay.git
synced 2025-03-12 21:41:08 +00:00
36 lines
586 B
Bash
36 lines
586 B
Bash
EAPI=5
|
|
inherit eutils
|
|
|
|
COMMIT="3b0633fad454505b5a1b5d7e3914f6fdb6b0bbbf"
|
|
|
|
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"
|
|
|
|
RDEPEND="dev-libs/openssl
|
|
sys-libs/db
|
|
dev-libs/boost
|
|
net-libs/miniupnpc"
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
S="${WORKDIR}/twister-core-${COMMIT}"
|
|
|
|
src_configure() {
|
|
./bootstrap.sh
|
|
}
|
|
|
|
src_compile() {
|
|
emake
|
|
}
|
|
|
|
src_install() {
|
|
mkdir -p "${D}usr/bin/"
|
|
cp "${S}/twisterd" "${D}usr/bin/twisterd"
|
|
}
|