mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-tex/circuit_macros: bump to 8.3.1
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST circuit_macros-8.3.1.tar.gz 2021702 SHA256 3ea3a258c4222b981c541924a2f006079b6240a6500a7e5a76985be1ad4eb085 SHA512 b7f5ee756169b15b80d8645501462281150a9981e7b80eec7b453829b61610b352a349e2f0086f70421ef7eb38f1ac205e3eecc318fc14ee67eb90e94414d219 WHIRLPOOL 6d2f22bac6b7f695261db6878faaeb1fa08ae5924c5d9ce15362d2c7f5f2e60c372302c581f234c21dc7b183206b46aa85e71b877a53720b3b2ca6882a996206
|
||||
DIST circuit_macros-8.3.tar.gz 1897642 SHA256 c3b547a79204acb71cc32f59261963116afb6afd2614bb135bf1b5edf64b077c SHA512 d9407c54e5b87f5bd1cf43f92f4b65a2e59221f8a62d687918230f0ab6ffa47757436c1914e76872b7ac22b6547ab6c0efa54a0f05647ff435a4f2452a1c6029 WHIRLPOOL 7b50ed8cac220cfd1c071102ff54a1074ce2f737e7a61202b446202a613da2a9d94b19611174a9e979a8b09aa4f60246580b802efb6ba821307d8849f7306ad8
|
||||
|
||||
50
dev-tex/circuit_macros/circuit_macros-8.3.1.ebuild
Normal file
50
dev-tex/circuit_macros/circuit_macros-8.3.1.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit texlive-common
|
||||
|
||||
DESCRIPTION="M4 Macros for Electric circuit diagrams in TeX or LaTeX"
|
||||
HOMEPAGE="https://ece.uwaterloo.ca/~aplevich/Circuit_macros/"
|
||||
SRC_URI="https://ece.uwaterloo.ca/~aplevich/Circuit_macros/Circuit_macros.tar.gz -> circuit_macros-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LPPL-1.3c"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples +script"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="|| ( app-text/texlive[graphics] app-text/texlive[pstricks] )
|
||||
media-gfx/dpic
|
||||
sys-devel/m4
|
||||
script? ( app-text/texlive[graphics]
|
||||
dev-texlive/texlive-latexextra )"
|
||||
|
||||
S="${WORKDIR}/Circuit_macros${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}
|
||||
doins *.m4
|
||||
insinto /usr/share/texmf-site/tex/latex/${PN}
|
||||
doins boxdims.sty
|
||||
dodoc README CHANGES Makefile doc/CMman.pdf
|
||||
rm -f doc/CMman.pdf
|
||||
use doc && dodoc -r doc
|
||||
use examples && dodoc -r examples
|
||||
use script && dobin "${FILESDIR}/cm2pdf"
|
||||
docompress -x \
|
||||
/usr/share/doc/${PF}/Makefile \
|
||||
/usr/share/doc/${PF}/doc \
|
||||
/usr/share/doc/${PF}/examples
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
etexmf-update
|
||||
use script && einfo "cm2pdf was installed to automatically create PDFs. Run cm2pdf --help for usage help."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
etexmf-update
|
||||
}
|
||||
Reference in New Issue
Block a user