Diff mx5000tools-0.1.2-r2 with a mx5000tools-0.1.2_p20190613
/usr/portage/app-misc/mx5000tools/mx5000tools-0.1.2_p20190613.ebuild 2023-10-09 14:52:28.812368333 +0300 | ||
---|---|---|
5 | 5 | |
6 | 6 |
inherit autotools |
7 | 7 | |
8 |
MX5000_TOOLS_COMMIT="c575ea33f92495b4b0ccdb1ce09099f9c011e43f" |
|
8 | 9 |
DESCRIPTION="Tools for controlling the LCD on a Logitech MX5000 keyboard" |
9 | 10 |
HOMEPAGE="https://web.archive.org/web/20160409073317/http://home.gna.org/mx5000tools/" |
10 |
SRC_URI="https://web.archive.org/web/20170225160711/http://download.gna.org/${PN}/${P}.tar.gz" |
|
11 |
SRC_URI="https://github.com/jwrdegoede/mx5000tools/archive/${MX5000_TOOLS_COMMIT}.tar.gz -> ${P}.tar.gz" |
|
12 |
S="${WORKDIR}"/${PN}-${MX5000_TOOLS_COMMIT} |
|
11 | 13 | |
12 | 14 |
LICENSE="GPL-2+" |
13 | 15 |
SLOT="0" |
... | ... | |
20 | 22 |
DEPEND="${RDEPEND}" |
21 | 23 |
BDEPEND="virtual/pkgconfig" |
22 | 24 | |
23 |
PATCHES=( |
|
24 |
"${FILESDIR}/${P}-find-netpbm-header.patch" |
|
25 |
"${FILESDIR}/${P}-musl.patch" |
|
26 |
) |
|
27 | ||
28 | 25 |
src_prepare() { |
29 | 26 |
default |
30 | 27 | |
31 | 28 |
eautoreconf |
32 | 29 |
} |
33 |
src_configure() { |
|
34 |
local myeconfargs=( |
|
35 |
--disable-static |
|
36 |
) |
|
37 | ||
38 |
econf "${myeconfargs[@]}" |
|
39 |
} |
|
40 | 30 | |
41 | 31 |
src_install() { |
42 | 32 |
default |
43 | 33 | |
44 |
find "${D}" -name '*.la' -delete || die |
|
34 |
find "${ED}" -name '*.la' -delete || die |
|
45 | 35 |
} |