Diff foo2zjs-20200221 with a foo2zjs-99999999
/usr/portage/net-print/foo2zjs/foo2zjs-99999999.ebuild 2023-10-09 14:52:34.748368483 +0300 | ||
---|---|---|
10 | 10 | |
11 | 11 |
LICENSE="GPL-2" |
12 | 12 |
SLOT="0" |
13 |
KEYWORDS="~amd64" |
|
13 |
PROPERTIES="live" |
|
14 | 14 |
IUSE="test" |
15 | 15 | |
16 | 16 |
RESTRICT="bindist !test? ( test )" |
... | ... | |
19 | 19 |
net-print/foomatic-db-engine |
20 | 20 |
>=net-print/cups-filters-1.0.43-r1[foomatic] |
21 | 21 |
virtual/udev" |
22 |
DEPEND="${RDEPEND} |
|
23 |
app-arch/unzip |
|
22 |
DEPEND="${RDEPEND}" |
|
23 |
BDEPEND="app-arch/unzip |
|
24 | 24 |
app-editors/vim |
25 | 25 |
net-misc/wget |
26 | 26 |
sys-apps/ed |
27 | 27 |
sys-devel/bc |
28 | 28 |
test? ( sys-process/time )" |
29 | 29 | |
30 |
SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz" |
|
30 |
S="${WORKDIR}/${PN}" |
|
31 | ||
32 |
src_unpack() { |
|
33 |
einfo "Fetching ${PN} tarball" |
|
34 |
wget "http://foo2zjs.rkkda.com/${PN}.tar.gz" || die |
|
35 |
tar zxf "${WORKDIR}/${PN}.tar.gz" || die |
|
31 | 36 | |
32 |
src_prepare() { |
|
33 | 37 |
eapply "${FILESDIR}/${PN}-udev.patch"\ |
34 | 38 |
"${FILESDIR}/${PN}-usbbackend.patch" |
35 | 39 | |
40 |
cd "${S}" || die |
|
41 | ||
42 |
einfo "Fetching additional files (firmware, etc)" |
|
43 |
emake getweb |
|
44 | ||
45 |
# Display wget output, downloading takes some time. |
|
46 |
sed -e '/^WGETOPTS/s/-q//g' -i getweb || die |
|
47 | ||
48 |
./getweb all || die |
|
49 |
} |
|
50 | ||
51 |
src_prepare() { |
|
36 | 52 |
# Prevent an access violation. |
37 | 53 |
sed -e "s~/etc~${D}/etc~g" -i Makefile || die |
38 | 54 |
sed -e "s~/etc~${D}/etc~g" -i hplj1000 || die |
... | ... | |
53 | 69 |
MAKEOPTS=-j1 CC="$(tc-getCC)" default |
54 | 70 |
} |
55 | 71 | |
72 |
src_test() { |
|
73 |
# see bug 419787 |
|
74 |
: ; |
|
75 |
} |
|
76 | ||
56 | 77 |
src_install() { |
57 | 78 |
# ppd files are installed automagically. We have to create a directory |
58 | 79 |
# for them. |
... | ... | |
60 | 81 | |
61 | 82 |
emake DESTDIR="${D}" -j1 install install-hotplug |
62 | 83 |
} |
63 | ||
64 |
src_test() { |
|
65 |
# see bug 419787 |
|
66 |
: ; |
|
67 |
} |