blob: 66110e8fbfc2bf396a763bf4ed1b2cceedffbfbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker
MY_PV="${PV/_p/-}"
DESCRIPTION="LPR driver for Brother MFC-J6910DW printers"
HOMEPAGE="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html"
SRC_URI="http://www.brother.com/pub/bsc/linux/dlf/${PN/-bin/}-${MY_PV}.i386.deb"
S="${WORKDIR}"
LICENSE="metapackage"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror"
QA_PREBUILT=".*"
src_unpack() {
unpack_deb ${A}
}
src_install() {
into /opt/brother
dobin usr/bin/brprintconf_mfcj6910dw
dosym \
../../opt/brother/bin/brprintconf_mfcj6910dw \
/usr/bin/brprintconf_mfcj6910dw
rm -r usr || die
cp -pPR opt/* "${ED}/opt/" || die
}
|