mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-tex/slatex: Version bump, relicensed to Apache-2.0.
Non-maintainer commit: Bump EAPI to 6, update SRC_URI and LICENSE. Upstream has relicensed the package; apart from that, there are no changes from slatex-20090928. Closes: https://bugs.gentoo.org/632504 Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST slatex-20090928.tar.bz2 47891 BLAKE2B dfbc5d5f3b9135e211ecd0fb6e59aff778bbcce4e4be2e8cb2bd1e8cb270c958a35d3eb8f80a25aa1619afe962a14650bf88235d37bfd7099ac3fff5a81204a7 SHA512 4b289ba86d4e157319436d55cf7951dc5493c40bf3901fe16b879db68a234bfbd71d6dc21b18f43d77a637c973df126709a8e63086507af6ae3b2f3dc712abb1
|
||||
DIST slatex-20090928_p20180415.tar.bz2 48075 BLAKE2B b79b11a790411cd02a1e5bcb8c2db023696d4387e0b68af79f0f06cdfbc7e0bd59b0274e6fd5a13665de86274a20998dfa64f45f72c3468773c668a5bf0e2ecf SHA512 13d86f30409918d46d83f4c052d19ab48521f2435c3c142e673aac81e42c04bd2b0f597d46002bc7cc3109215b1954b23329266ad346d123845b6d9a8f45efc4
|
||||
|
||||
@@ -1,29 +1,28 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
EAPI=6
|
||||
|
||||
# for updating the texmf database, id est latex-package_rehash
|
||||
inherit latex-package
|
||||
|
||||
DESCRIPTION="SLaTeX is a Scheme program allowing you to write Scheme in your (La)TeX source"
|
||||
HOMEPAGE="http://www.ccs.neu.edu/home/dorai/slatex/slatxdoc.html"
|
||||
SRC_URI="http://evalwhen.com/slatex/slatex.tar.bz2 -> ${P}.tar.bz2"
|
||||
SRC_URI="http://www.ccs.neu.edu/home/dorai/slatex/${PN}.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="freedist" # license doesn't grant the right for modifications
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-scheme/guile"
|
||||
DEPEND="${CDEPEND} dev-scheme/scmxlate !dev-scheme/plt-scheme"
|
||||
RDEPEND="${CDEPEND}"
|
||||
RDEPEND="dev-scheme/guile"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-scheme/scmxlate"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
TARGET_DIR="/usr/share/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
sed "s:\"/home/dorai/.www/slatex/slatex.scm\":\"${TARGET_DIR}/slatex.scm\":" \
|
||||
-i scmxlate-slatex-src.scm || die "sed failed"
|
||||
}
|
||||
@@ -35,8 +34,8 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
insinto "${TARGET_DIR}"
|
||||
doins ${PN}.scm || die "doins failed"
|
||||
insinto /usr/share/texmf/tex/latex/slatex/
|
||||
doins ${PN}.sty || die "doins failed"
|
||||
dobin ${PN} || die "dobin failed"
|
||||
doins slatex.scm
|
||||
insinto "${TEXMF}/tex/latex/${PN}"
|
||||
doins slatex.sty
|
||||
dobin slatex
|
||||
}
|
||||
Reference in New Issue
Block a user