diff options
Diffstat (limited to 'sys-power/sispmctl')
-rw-r--r-- | sys-power/sispmctl/Manifest | 4 | ||||
-rw-r--r-- | sys-power/sispmctl/sispmctl-4.1-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-power/sispmctl/sispmctl-4.12.ebuild | 53 |
3 files changed, 57 insertions, 2 deletions
diff --git a/sys-power/sispmctl/Manifest b/sys-power/sispmctl/Manifest index 8fe65db76777..ef4e33965098 100644 --- a/sys-power/sispmctl/Manifest +++ b/sys-power/sispmctl/Manifest @@ -1,3 +1,5 @@ DIST sispmctl-4.1.tar.gz 429477 BLAKE2B fe9231a5a0b22456d81166ae5dbaf98c86a636e79ff09112438c769daa503996128d31609bd90f66a5414459c9fce66956b1ee001ac3d57f8f472a09b34aee20 SHA512 52cf6e7d4df76c1d28d196a81a06dec59047f2d43571bc72ff08a22359c3e5d7a36fd446118036fe35f9c26e59a07563ac15d9e05285e7b09214b68aab5ef488 -EBUILD sispmctl-4.1-r1.ebuild 909 BLAKE2B 9b37d2544b5514b352a40918631b24cf74066ba713574e3a5c5bab981b59bbb03e9c22b3893a396d47bd54bf5cb5061f61855fb45dddbe703a06e4703a97d193 SHA512 294c5e3c957d2a892995d1ae736f6ff5fbed294b0b862ee423cc46678fa5f707b6c96857512a56a6b7cedfaa0039a63f463d1768dac08fa1335acb66a9e12f3c +DIST sispmctl-4.12.tar.gz 462829 BLAKE2B dccf61386ad337739825c7f885bef0cbf76868f938a2a7e0ea9853c0bd5591a289d82876f800f2839e6cd9be7040dec2c650ea347e446e15ba43f1169c05cd36 SHA512 945dd7a14f1d6c60cf6f9855782608187c94edce2c3acb9c1dabf92022632051bdf659c49d1d82fd8d38283d710a6847ac985e2efca9a157425fdc55545d5a1a +EBUILD sispmctl-4.1-r1.ebuild 910 BLAKE2B 75f088bbf61d6abf251396a84bbf95287fb040a7a05aa30fafa2a999bc62e7deb0f7a881afb8b8e397aa69bab35b6fc34dc5b8a447659d66d70e1a9933a2bc35 SHA512 7956f77933400ca6656422752b765fd5e6f7dc51f35e2d2a5f7964c1d71aa41df66deec05c36b477bfcdab9eda01d752d68f81618a56002de2bd2f58d90eb471 +EBUILD sispmctl-4.12.ebuild 938 BLAKE2B 8374a4d9049bf8d6c621ac223ba470752c428c0f296e42a35223e52bb515f87b9faf64ca11faa5d23a94e29d556c8dd41e3abc2e86004028ecaee5fe2c19a5d4 SHA512 1d94271f9723f6d6f85db83f31264b56aab7206881c6426abd78eb9d918db3d245819b837afd3fd09a6671521232773f94e86970593eca147c61397ab7aa581b MISC metadata.xml 515 BLAKE2B e3ecb0aa11c8ccd7635d4242221d288f77ccfc29d147df694259db12f448521dfe317b816c4d9d43ef3a888c9ec3a6869b82bff32e7f132d7561fde886d920e3 SHA512 6a4029158a791299623cffafdaaba042605d1b9b6df4317340e0dbb9e95b257b283952eedcbd8a3c4efbd5cc5a2db9e4f787c2541e4b4925d9397cabdfc077c9 diff --git a/sys-power/sispmctl/sispmctl-4.1-r1.ebuild b/sys-power/sispmctl/sispmctl-4.1-r1.ebuild index 2eea09e8fa7d..122669b2ed7b 100644 --- a/sys-power/sispmctl/sispmctl-4.1-r1.ebuild +++ b/sys-power/sispmctl/sispmctl-4.1-r1.ebuild @@ -9,7 +9,7 @@ DESCRIPTION="GEMBIRD SiS-PM control utility" HOMEPAGE="http://sispmctl.sourceforge.net/" SRC_URI="https://downloads.sourceforge.net/sispmctl/${P}.tar.gz" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" IUSE="static-libs" diff --git a/sys-power/sispmctl/sispmctl-4.12.ebuild b/sys-power/sispmctl/sispmctl-4.12.ebuild new file mode 100644 index 000000000000..800da41c65b6 --- /dev/null +++ b/sys-power/sispmctl/sispmctl-4.12.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd udev + +DESCRIPTION="GEMBIRD SiS-PM control utility" +HOMEPAGE="http://sispmctl.sourceforge.net/" +SRC_URI="https://downloads.sourceforge.net/sispmctl/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="static-libs" + +DEPEND=" + virtual/libusb:0 +" +RDEPEND=" + ${DEPEND} + acct-group/sispmctl +" + +src_configure() { + local myeconfargs=( + $(use_enable static-libs static) + --enable-webless + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die + + # install udev rules which make the device files writable + # by the members of the group sispmctl + udev_dorules examples/60-sispmctl.rules + + systemd_dounit examples/${PN}.service +} + +pkg_postinst() { + udev_reload + einfo "Add users who may run ${PN} to the group '${PN}'" +} + +pkg_postrm() { + udev_reload +} |