mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
sci-electronics/dsview: add pkg_postinst to run udev_reload
Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -6,7 +6,7 @@ EAPI=7
|
|||||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||||
GITHUB_PN="DSView"
|
GITHUB_PN="DSView"
|
||||||
|
|
||||||
inherit autotools cmake python-r1 xdg
|
inherit autotools cmake python-r1 udev xdg
|
||||||
|
|
||||||
DESCRIPTION="An open source multi-function instrument"
|
DESCRIPTION="An open source multi-function instrument"
|
||||||
HOMEPAGE="
|
HOMEPAGE="
|
||||||
@@ -96,3 +96,7 @@ src_install() {
|
|||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr . || die
|
cmake -DCMAKE_INSTALL_PREFIX=/usr . || die
|
||||||
emake DESTDIR="${D}" install
|
emake DESTDIR="${D}" install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
udev_reload
|
||||||
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ EAPI=7
|
|||||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||||
GITHUB_PN="DSView"
|
GITHUB_PN="DSView"
|
||||||
|
|
||||||
inherit autotools cmake python-r1 xdg
|
inherit autotools cmake python-r1 udev xdg
|
||||||
|
|
||||||
DESCRIPTION="An open source multi-function instrument"
|
DESCRIPTION="An open source multi-function instrument"
|
||||||
HOMEPAGE="
|
HOMEPAGE="
|
||||||
@@ -96,3 +96,7 @@ src_install() {
|
|||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr . || die
|
cmake -DCMAKE_INSTALL_PREFIX=/usr . || die
|
||||||
emake DESTDIR="${D}" install
|
emake DESTDIR="${D}" install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
udev_reload
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user