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
916 B
49 lines
916 B
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
3 years ago
|
EAPI="7"
|
||
13 years ago
|
|
||
6 years ago
|
inherit autotools vcs-snapshot
|
||
13 years ago
|
|
||
6 years ago
|
MY_P="${PN^g}2-${PV}"
|
||
3 years ago
|
EGIT_COMMIT="0220722c44ef85f2e1b9b14745702c1b923258e8"
|
||
13 years ago
|
|
||
|
DESCRIPTION="GTK2 binding for Gauche"
|
||
3 years ago
|
HOMEPAGE="https://practical-scheme.net/gauche/"
|
||
|
SRC_URI="https://github.com/shirok/${PN^g}2/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz"
|
||
13 years ago
|
|
||
|
LICENSE="BSD"
|
||
|
SLOT="0"
|
||
5 years ago
|
KEYWORDS="amd64 ~ppc x86"
|
||
5 years ago
|
IUSE="examples"
|
||
13 years ago
|
RESTRICT="test"
|
||
|
|
||
3 years ago
|
RDEPEND="dev-scheme/gauche:=
|
||
|
x11-libs/gtk+:2"
|
||
|
DEPEND="${RDEPEND}"
|
||
|
BDEPEND="virtual/pkgconfig"
|
||
6 years ago
|
S="${WORKDIR}/${MY_P}"
|
||
13 years ago
|
|
||
|
src_prepare() {
|
||
6 years ago
|
default
|
||
13 years ago
|
eautoconf
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
emake stubs
|
||
|
emake
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
6 years ago
|
default
|
||
13 years ago
|
|
||
|
if use examples; then
|
||
|
docompress -x /usr/share/doc/${PF}/examples
|
||
|
docinto examples
|
||
|
dodoc examples/*.scm
|
||
|
# install gtk-tutorial
|
||
|
docinto examples/gtk-tutorial
|
||
|
dodoc examples/gtk-tutorial/*
|
||
|
fi
|
||
|
}
|