You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
939 B
49 lines
939 B
5 years ago
|
# Copyright 1999-2019 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
5 years ago
|
EAPI=7
|
||
|
|
||
|
inherit autotools desktop
|
||
13 years ago
|
|
||
|
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"
|
||
7 years ago
|
KEYWORDS="~alpha ~amd64 ~x86"
|
||
13 years ago
|
IUSE="gtk"
|
||
|
|
||
5 years ago
|
RDEPEND="acct-group/gamestat
|
||
|
media-fonts/font-misc-misc
|
||
|
gtk? ( x11-libs/gtk+:2 )
|
||
13 years ago
|
!gtk? ( x11-libs/libXaw )"
|
||
5 years ago
|
DEPEND="${RDEPEND}"
|
||
|
BDEPEND="virtual/pkgconfig"
|
||
|
|
||
|
PATCHES=(
|
||
|
"${FILESDIR}"/${P}-gtk2.patch
|
||
|
"${FILESDIR}"/${P}-gentoo.patch
|
||
|
)
|
||
13 years ago
|
|
||
|
src_prepare() {
|
||
5 years ago
|
default
|
||
|
mv configure.in configure.ac || die
|
||
13 years ago
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
5 years ago
|
econf \
|
||
13 years ago
|
--disable-motif \
|
||
|
$(use_enable gtk) \
|
||
|
$(use_enable !gtk athena)
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
10 years ago
|
default
|
||
13 years ago
|
newicon pixmaps/icon.xpm ${PN}.xpm
|
||
|
make_desktop_entry ${PN} XBill ${PN}
|
||
5 years ago
|
fowners :gamestat /var/lib/xbill/scores
|
||
|
fperms 664 /var/lib/xbill/scores
|
||
13 years ago
|
}
|