diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-util/datutil/datutil-2.46.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-util/datutil/datutil-2.46.ebuild')
-rw-r--r-- | games-util/datutil/datutil-2.46.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/games-util/datutil/datutil-2.46.ebuild b/games-util/datutil/datutil-2.46.ebuild new file mode 100644 index 000000000000..6c3b8059294b --- /dev/null +++ b/games-util/datutil/datutil-2.46.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit toolchain-funcs + +DL_PV=2.36 +DESCRIPTION="Converter for dat files for Rom Managers" +HOMEPAGE="http://www.logiqx.com/Tools/DatUtil/" +SRC_URI="http://www.logiqx.com/Tools/DatUtil/dutil${PV//.}.zip + http://www.logiqx.com/Tools/DatLib/datlib${DL_PV//.}.zip" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-fbsd" +IUSE="" +RESTRICT="mirror bindist" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S=${WORKDIR} + +src_unpack() { + unpack dutil${PV//.}.zip + cd "${S}" + mkdir -p dev/datlib + cd dev/datlib + unpack datlib${DL_PV//.}.zip +} + +src_compile() { + # Parallel make issue, see bug #244879 (so make the dirs first) + emake -j1 CC="$(tc-getCC)" LD="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" \ + CFLAGS="${CFLAGS} -Idev" LOGIQX=. EXT= UPX=@# dlmaketree maketree || die "emake failed" + emake CC="$(tc-getCC)" LD="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" \ + CFLAGS="${CFLAGS} -Idev" LOGIQX=. EXT= UPX=@# || die "emake failed" +} + +src_install() { + dobin datutil + dodoc readme.txt whatsnew.txt +} |