forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blib-1.1.7-r2.ebuild
45 lines (38 loc) · 994 Bytes
/
blib-1.1.7-r2.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="blib is a library full of useful things to hack the Blinkenlights"
HOMEPAGE="http://www.blinkenlights.de"
SRC_URI="http://www.blinkenlights.de/dist/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="aalib gtk"
RDEPEND="
>=dev-libs/glib-2:2
aalib? ( >=media-libs/aalib-1.4_rc4-r2 )
gtk? ( >=x11-libs/gtk+-2.4.4:2 )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
"
src_prepare() {
default
# Drop DEPRECATED flags, bug #391105
sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
blib/Makefile.am blib/Makefile.in \
gfx/Makefile.am gfx/Makefile.in \
modules/Makefile.am modules/Makefile.in \
test/modules/Makefile.am test/modules/Makefile.in || die
}
src_configure() {
econf \
--disable-directfb \
--disable-static \
$(use_enable aalib) \
$(use_enable gtk gtk2)
}
src_install() {
default
find "${D}" -name '*.la' -delete || die
}