mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-30 12:02:57 +01:00
origami-pdf: ruby24
This commit is contained in:
parent
c37484031a
commit
96fdccece8
5 changed files with 1 additions and 52 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST origami-2.1.0.gem 221184 BLAKE2B fc5097d15483a1243d7260b4d56c1d01e8f615acaf8307e84f429cdaf6bacc1ebd32e11fad08dda5c8134ffb5906b1e62de2db1b14fad40c62bffe39240c97fb SHA512 92ce7006b6368895e252b01b4157d387b5705f5269b3562b83fed1da44ab26a148b1bedbbefc86108825a29a8124295abb4b388175d175f5ff72361d948e01b6
|
||||
DIST origami-pdf-1.2.6.tar.gz 1941924 BLAKE2B 3c20339679ccd0ecd067f058988be9ccb5a16c1b23a9f178f3430c0091d2708996a049bcaac890e93e4f825814dd6c91b5358d2a2f52727889673a023ac806d2 SHA512 5923440bef3a366fcafa623d2ee43c0669b086eca6ece6282171c1c78ac3eacb8e8e2471f3df2c45fdebb874e109c0af58d4143301ec200eb3edeefb8311b5a2
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd /usr/lib/origami/samples
|
||||
cat README.txt
|
||||
/bin/bash
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
me=`basename $0`
|
||||
|
||||
cd /usr/lib/origami-pdf
|
||||
./bin/$me
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A Ruby framework designed to parse, analyze, and forge PDF documents"
|
||||
HOMEPAGE="https://code.google.com/p/origami-pdf/"
|
||||
SRC_URI="https://github.com/cogent/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE="gtk"
|
||||
|
||||
RDEPEND="dev-lang/ruby
|
||||
dev-ruby/rubygems
|
||||
gtk? ( dev-ruby/ruby-gtk2 )"
|
||||
DEPEND=""
|
||||
|
||||
src_install() {
|
||||
# should be as simple as copying everything into the target
|
||||
dodir /usr/$(get_libdir)/${PN}
|
||||
cp -R "${S}"/* "${ED}"/usr/$(get_libdir)/${PN} || die "Copy files failed"
|
||||
fowners -R root:0 /
|
||||
|
||||
dodoc README CHANGELOG
|
||||
|
||||
#we use a first bin file as a template for the rest
|
||||
newbin "${FILESDIR}/origami-sym" pdfdecompress
|
||||
for pdfname in "pdfdecrypt" "pdfencrypt" "pdfmetadata" "pdf2graph" "pdf2ruby" "pdfextract" \
|
||||
"pdfcop" "pdfcocoon" "pdfsh" "pdfwalker" "pdf2pdfa"
|
||||
do
|
||||
dosym /usr/bin/pdfdecompress /usr/bin/$pdfname
|
||||
done
|
||||
use gtk && dosym /usr/bin/pdfwalker /usr/bin/$pdfname
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
USE_RUBY="ruby23"
|
||||
USE_RUBY="ruby24 ruby25"
|
||||
|
||||
RUBY_FAKEGEM_NAME="origami"
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
|
|
|||
Loading…
Reference in a new issue