summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2019-12-22 20:46:42 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2019-12-22 20:49:22 +0100
commitd10f7f920ba85ee09e6fa585eccaa8979ce1df6a (patch)
treebc79b9ced0811f30b8bf11989c842fad9f305373 /app-text/u2ps/u2ps-1.1.ebuild
parentapp-text/u2ps: Stable for amd64 (diff)
downloadgentoo-d10f7f920ba85ee09e6fa585eccaa8979ce1df6a.tar.gz
gentoo-d10f7f920ba85ee09e6fa585eccaa8979ce1df6a.tar.bz2
gentoo-d10f7f920ba85ee09e6fa585eccaa8979ce1df6a.zip
app-text/u2ps: Version bump
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'app-text/u2ps/u2ps-1.1.ebuild')
-rw-r--r--app-text/u2ps/u2ps-1.1.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-text/u2ps/u2ps-1.1.ebuild b/app-text/u2ps/u2ps-1.1.ebuild
new file mode 100644
index 000000000000..c28a8ccdd0aa
--- /dev/null
+++ b/app-text/u2ps/u2ps-1.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A text to PostScript converter like a2ps, but supports UTF-8"
+HOMEPAGE="https://github.com/arsv/u2ps"
+SRC_URI="https://github.com/arsv/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-text/ghostscript-gpl"
+RDEPEND="${DEPEND}"
+BDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-nostrip.patch" )
+
+src_configure() {
+ # this isnt autoconf, so econf fails...
+ ./configure \
+ --prefix=/usr \
+ --datadir=/usr/share \
+ --mandir=/usr/share/man \
+ --with-gs=/usr/bin/gs \
+ || die 'configure failed'
+}