summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/net-print/foo2zjs/foo2zjs-20180721.exheres-046
1 files changed, 46 insertions, 0 deletions
diff --git a/packages/net-print/foo2zjs/foo2zjs-20180721.exheres-0 b/packages/net-print/foo2zjs/foo2zjs-20180721.exheres-0
new file mode 100644
index 0000000..c42109e
--- /dev/null
+++ b/packages/net-print/foo2zjs/foo2zjs-20180721.exheres-0
@@ -0,0 +1,46 @@
+# Distributed under the terms of the GNU General Public License v2
+# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
+
+SUMMARY="Support for printing to ZjStream-based printers"
+HOMEPAGE="http://foo2zjs.rkkda.com/"
+DOWNLOADS="http://sss.chaoslab.ru/distfiles/foo2zjs-2018_07_21.tar.xz"
+
+LICENCES="GPL-2"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+
+DEPENDENCIES="
+ build:
+ app-arch/unzip
+ app-editors/vim
+ net-misc/wget
+ sys-apps/ed
+ sys-apps/bc
+ run:
+ net-print/cups
+ net-print/cups-filters
+ net-print/cups-filters
+ test:
+ sys-process/time
+"
+
+DEFAULT_SRC_COMPILE_PARAMS+=( -j1 )
+DEFAULT_SRC_INSTALL_PARAMS+=( -j1 )
+
+WORK=${WORKBASE}
+
+src_install() {
+ dodir /usr/share/ppd
+ default
+ edo rmdir "${IMAGE}/usr/share/foo2hbpl/icm"
+ edo rmdir "${IMAGE}/usr/share/foo2hbpl"
+ edo rmdir "${IMAGE}/usr/share/foo2ddst/icm"
+ edo rmdir "${IMAGE}/usr/share/foo2ddst"
+ edo cd "${IMAGE}"
+ edo mkdir -p usr/$(exhost --target)/bin
+ edo mv usr/bin/* usr/$(exhost --target)/bin/
+ edo mv bin/* usr/$(exhost --target)/bin/
+ edo rmdir usr/bin
+ edo rmdir bin
+}