www-client/phantomjs-bin: first commit

Signed-off-by: Anton Fischl <github@fischl-online.de>
This commit is contained in:
Anton Fischl 2022-05-19 18:48:21 +02:00
parent 95df5a6dca
commit 4be1276c93
Signed by: anton
GPG Key ID: 87E4939135F3A567
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST phantomjs-bin-2.1.1.tar.bz2 23415665 BLAKE2B d7f379b5cdbed6d9655ee21ca34c305b7b1f5429aff2465343eecbcca3e53dabea840d0a328918ad4daa474ca606c6933dbc3fc247b769d3309bd83072b3bfd6 SHA512 039b62ecf2fa4196357e129727871a53b046948e17b21900c78a1af4d0b523e41b9d4137e7454b0a638333d7fc27e65d14f4af8c665e982a504c12f828525419

View File

@ -0,0 +1,31 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A headless WebKit scriptable with a JavaScript API"
HOMEPAGE="http://phantomjs.org/"
SRC_URI="https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-${PV}-linux-x86_64.tar.bz2 -> ${P}.tar.bz2"
RESTRICT="mirror"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64"
IUSE="examples"
RDEPEND="media-libs/fontconfig"
QA_PREBUILT="*"
S="${WORKDIR}/phantomjs-${PV}-linux-x86_64/"
src_install() {
exeinto "/usr/bin"
doexe "bin/phantomjs"
if use examples ; then
insinto "/usr/share/phantomjs"
doins -r "examples"
fi
dodoc "ChangeLog" "LICENSE.BSD" "README.md" "third-party.txt"
}