Skip to content

Commit

Permalink
app-misc/ddccontrol-db: add 20210812
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/829720
Signed-off-by: Dmitry Baranov <reagentoo@gmail.com>
Closes: #23434
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
  • Loading branch information
reagentoo authored and juippis committed Jan 10, 2022
1 parent 8b3b4d9 commit 0e1974d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-misc/ddccontrol-db/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST ddccontrol-db-20190826_p20200613.tar.gz 85044 BLAKE2B 6f80a7a53843dc29ff6158614dd36eba3d7f8172e21592776426464729b4bdcfd3bea51b8412919aa5231015f75766da51eb71f4d808b4c280c045209a4edf1a SHA512 9171193fd31c877699df9e8740cbed0a8de68acc41b614ded36022a25be27f01cf34129033ae3c219211bff54ea82882a955f587dfa87fa7571d3992ac3fa4de
DIST ddccontrol-db-20210812.tar.gz 100719 BLAKE2B aecc9e9bf432905652e69b17b274daa07222d8f766048f29493eb0e50e07331fb5434258faad277ce21dec6475b192b4575eb1ebbd117edd25d333091ba33c8c SHA512 5bf64d69e1dd4324ce498909313b5c32a4af18d101e1536c40845f9a440f353e0ecb36d26441733c68de05be7e52dcea983325d70f4d542df85b5462ad193cb7
35 changes: 35 additions & 0 deletions app-misc/ddccontrol-db/ddccontrol-db-20210812.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools

DESCRIPTION="DDCControl monitor database"
HOMEPAGE="http://ddccontrol.sourceforge.net/"
SRC_URI="https://github.com/ddccontrol/ddccontrol-db/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="nls"

RDEPEND="nls? ( sys-devel/gettext )"
DEPEND="${RDEPEND}
dev-util/intltool
dev-perl/XML-Parser"

src_prepare() {
touch db/options.xml.h ABOUT-NLS config.rpath || die
eapply_user
eautoreconf
}

src_configure() {
econf $(use_enable nls)
}

src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS ChangeLog NEWS README.md
}

0 comments on commit 0e1974d

Please sign in to comment.