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.
37 lines
707 B
37 lines
707 B
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
inherit autotools
|
|
|
|
DESCRIPTION="platform abstraction code for tucnak package"
|
|
HOMEPAGE="http://tucnak.nagano.cz"
|
|
SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE="ftdi"
|
|
|
|
RDEPEND="dev-libs/glib:2
|
|
x11-libs/gtk+:2
|
|
media-libs/libsdl
|
|
media-libs/libpng:0
|
|
ftdi? ( dev-embedded/libftdi:0 )"
|
|
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig"
|
|
|
|
src_prepare() {
|
|
eapply_user
|
|
sed -i -e "s/docsdir/#docsdir/g" \
|
|
-e "s/docs_/#docs_/g" Makefile.am || die
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
$(use_with ftdi) --with-sdl \
|
|
--with-png --without-bfd
|
|
}
|