forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-scheme/gauche-gtk: new upstream release
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Akinori Hattori <[email protected]>
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST Gauche-gtk-0.6.tgz 427255 BLAKE2B f5144adc98dd6e1017f43ff762a06d2390e6f5b39286151262b51d847fc35ad68c2885459502b10f014b32049eaebd8afaa98bd8a2cfc4640734e1b1d5381f57 SHA512 d7887577f6fa361118240651cdc61ba48ad706ea2cc285c2542dbd4972abcb2eaca631e4d77b1fe0a189d4424ec17d01bbeb67ea8a2fe8166cf8e65da81e87ca | ||
DIST Gauche-gtk2-0.6_pre1.tar.gz 205003 BLAKE2B ecc444c246aa20f67a0030d7d87528596d6c2d69beb7ffaef1b53f80963d2fcc1294a04cacf958df6c3331789b6b0260f911126941d6e672a6c57e3aa4807d81 SHA512 5379dafbfabd536e335c30af18f8ddd13e00238e6d99494bbc8e78ee9cf1db872c08b5deee42ac50898dedde39c441d837312d2d6f559a0d2ac2568c31926f70 | ||
DIST Gauche-gtk2-0.6_pre20210518.tar.gz 205759 BLAKE2B 0f1a11d1b9c3324cc7c8fcb7bfcbcd1b23740e509241698f466cc52454c36ad4c6d4e7ad850b9a20c5a3cc3d854824162686911198aee24e43fe53ef6ca10e95 SHA512 a235271b34aafb89a9dfc62ee9db2cc260aa4ffc4b0d450689c699574a79f54299f6b8fbbfb62a32ba18947cf99546e4e118432f0e467457a2566ed4d4839d58 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Copyright 1999-2022 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI="8" | ||
|
||
inherit autotools | ||
|
||
MY_P="${PN^g}-${PV}" | ||
|
||
DESCRIPTION="GTK2 binding for Gauche" | ||
HOMEPAGE="https://practical-scheme.net/gauche/" | ||
SRC_URI="https://github.com/shirok/${PN^g}2/releases/download/release-${PV}/${MY_P}.tgz" | ||
|
||
LICENSE="BSD" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~ppc ~x86" | ||
IUSE="examples" | ||
RESTRICT="test" | ||
|
||
RDEPEND="dev-scheme/gauche:= | ||
x11-libs/gtk+:2" | ||
DEPEND="${RDEPEND}" | ||
BDEPEND="virtual/pkgconfig" | ||
S="${WORKDIR}/${MY_P}" | ||
|
||
src_compile() { | ||
emake stubs | ||
emake | ||
} | ||
|
||
src_install() { | ||
default | ||
|
||
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 | ||
} |