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.
app-text/yodl: version bump to 3.08.01
- Loading branch information
Showing
2 changed files
with
49 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,3 +1,4 @@ | ||
DIST yodl-3.08.01.tar.gz 283634 SHA256 958497939d9f3d1c6d0e2e74f7592d5a98f9ddb6f95c50c1247e41600d2765b7 SHA512 a88ab79657661262f4ccce4fd307ba41a05bcefbb534a2b5ed84115ab592ddf3ce883747aad5c028e73142ec91815ee86e1ae16ab9d319fe2045a2b0a08ab42c WHIRLPOOL aa9d9c0d58da0d5dbda3acd4f4f5fe5867873a23fd0f133404a6be9965001c1326714fc05296fa2a91912fe011391dd51819a40d2ddecfd7d99cfd8ac833339d | ||
DIST yodl_3.04.00.orig.tar.gz 296554 SHA256 66b317877906e165506796f9342a1adf931376f7d8b6990b2d2ff12107685893 SHA512 d9e67c0dd15987fde2047bd5deb4e3a3d752e3ba5d398d4f5c4b7d02cc165a2500f7715eccefa8456d104ece5e42ca8e2b0b4746ad582fbf2100f6849c4a69a6 WHIRLPOOL c7a6cec7379372c8e6fb211c3178377e1d0639389c51032cc6e63c2968a39c474998f946db6464882ea096ac388dbd0ecbe380531a364a950e6bb4e281c9717e | ||
DIST yodl_3.05.00.orig.tar.gz 301612 SHA256 2f360062a85f9359207088b2586da863e2b111428f3e12486cd34c9de12b1b8a SHA512 45eccfb59853f57ffe2219b6de26e9851a28c59049b6165cc5dbd7201b5078b5930a286c0b2c61f534483b80f7c8c5de79925784ac6c29843d8c3842b508f7a8 WHIRLPOOL 31905df64082237f0aa91101bdf775164997fb467261ae156b012924c6e8c93eed9679b0fc45142520e1d2360239ec003abd41e811db3827cb530a6ba9cd0a74 | ||
DIST yodl_3.05.01.orig.tar.gz 302038 SHA256 5a3d0e1b2abbba87217cfdc6cd354a00df8d782572495bbddbdfbd4f47fe0d3e SHA512 d2e8216511f50f053809d7b4c50c733ea72b62ef987608381c2583f008347f889e897b7104eaa63a040c4290909d681971a8a0624b15f204dc8ad47a4f2ceb1b WHIRLPOOL fa2dc18eab78af022d945eeb7436483a1d0cf0a947a450cbf045a763348378ebe2d192297c462b3c6fc30756f283d1186b4f3c1d9e9d5bc707aaace9ebc9e09b |
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,48 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
inherit toolchain-funcs | ||
|
||
DESCRIPTION="Your Own Document Language: a pre-document language and tools to process it" | ||
HOMEPAGE="https://fbb-git.github.io/yodl/ https://github.com/fbb-git/yodl" | ||
SRC_URI="https://github.com/fbb-git/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="doc" | ||
|
||
DEPEND="dev-util/icmake" | ||
|
||
S=${WORKDIR}/${P}/${PN} | ||
|
||
src_prepare() { | ||
sed -e "/DOC.* =/s/yodl\(-doc\)\?/${PF}/" \ | ||
-e "/COMPILER =/s/gcc/$(tc-getCC)/" \ | ||
-e "/CXX =/s/g++/$(tc-getCXX)/" \ | ||
-i INSTALL.im || die | ||
|
||
sed -e "s/ar r /$(tc-getAR) r /" \ | ||
-e "s/ranlib/$(tc-getRANLIB)/" \ | ||
-i icmake/stdcompile || die | ||
|
||
default | ||
} | ||
|
||
src_compile() { | ||
./build programs || die | ||
./build macros || die | ||
./build man || die | ||
use doc && { ./build manual || die ; } | ||
} | ||
|
||
src_install() { | ||
./build install programs "${ED}" || die | ||
./build install macros "${ED}" || die | ||
./build install man "${ED}" || die | ||
./build install docs "${ED}" || die | ||
use doc && { ./build install manual "${ED}" || die ; } | ||
} |