mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
dev-embedded/rpi-openocd:
Signed-off-by: Manuel <ljn0099@hotmail.com> Changed package prefixes to avoid conflict with dev-embedded/openocd.
This commit is contained in:
1 file changed
+8
-1
@@ -39,6 +39,9 @@ src_prepare() {
|
|||||||
src_configure() {
|
src_configure() {
|
||||||
local myconf=(
|
local myconf=(
|
||||||
--program-prefix=rpi-
|
--program-prefix=rpi-
|
||||||
|
--datadir=/usr/share/openocd-rpi
|
||||||
|
--infodir=/usr/share/info/rpi-openocd
|
||||||
|
--docdir=/usr/share/doc/rpi-openocd
|
||||||
--enable-amtjtagaccel
|
--enable-amtjtagaccel
|
||||||
--enable-am335xgpio
|
--enable-am335xgpio
|
||||||
--enable-arm-jtag-ew
|
--enable-arm-jtag-ew
|
||||||
@@ -87,7 +90,11 @@ src_configure() {
|
|||||||
src_install() {
|
src_install() {
|
||||||
default
|
default
|
||||||
dostrip /usr/bin
|
dostrip /usr/bin
|
||||||
udev_dorules "${ED}"/usr/share/openocd/contrib/*.rules
|
|
||||||
|
mv "${ED}/usr/share/openocd-rpi/openocd/contrib/60-openocd.rules" \
|
||||||
|
"${ED}/usr/share/openocd-rpi/openocd/contrib/60-openocd-rpi.rules" || die
|
||||||
|
|
||||||
|
udev_dorules "${ED}"/usr/share/openocd-rpi/openocd/contrib/*.rules
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
|||||||
Reference in new issue
Block a user