diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-26 00:09:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-26 00:09:36 +0100 |
commit | b1c81de4fadbd00897700a7321f03b390d952b2e (patch) | |
tree | e6cc812351d4f105c110cfc363ebb497e996f47a /games-arcade/xbill/xbill-2.1-r4.ebuild | |
parent | 7c59acba5699c9c58090a7a738669669a7307023 (diff) |
gentoo resync : 26.08.2021
Diffstat (limited to 'games-arcade/xbill/xbill-2.1-r4.ebuild')
-rw-r--r-- | games-arcade/xbill/xbill-2.1-r4.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/games-arcade/xbill/xbill-2.1-r4.ebuild b/games-arcade/xbill/xbill-2.1-r4.ebuild new file mode 100644 index 000000000000..cbd5ae78dd07 --- /dev/null +++ b/games-arcade/xbill/xbill-2.1-r4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop + +DESCRIPTION="A game about an evil hacker called Bill!" +HOMEPAGE="http://www.xbill.org/" +SRC_URI="http://www.xbill.org/download/${P}.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" +IUSE="gtk" + +RDEPEND="acct-group/gamestat + media-fonts/font-misc-misc + gtk? ( x11-libs/gtk+:2 ) + !gtk? ( x11-libs/libXaw )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-gtk2.patch + "${FILESDIR}"/${P}-gentoo.patch +) + +src_prepare() { + default + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + econf \ + --disable-motif \ + $(use_enable gtk) \ + $(use_enable !gtk athena) +} + +src_install() { + default + newicon pixmaps/icon.xpm ${PN}.xpm + make_desktop_entry ${PN} XBill ${PN} + + fowners :gamestat /var/lib/xbill/scores /usr/bin/${PN} + fperms 664 /var/lib/xbill/scores +} |