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/grfcodec/grfcodec-6.0.6.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-util/grfcodec/grfcodec-6.0.6.ebuild')
-rw-r--r-- | games-util/grfcodec/grfcodec-6.0.6.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/games-util/grfcodec/grfcodec-6.0.6.ebuild b/games-util/grfcodec/grfcodec-6.0.6.ebuild new file mode 100644 index 000000000000..58ce0e2db8d0 --- /dev/null +++ b/games-util/grfcodec/grfcodec-6.0.6.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +if [ "${PV%9999}" != "${PV}" ] ; then + SCM=mercurial + EHG_REPO_URI="http://hg.openttdcoop.org/${PN}" +fi + +inherit toolchain-funcs ${SCM} + +DESCRIPTION="A suite of programs to modify openttd/Transport Tycoon Deluxe's GRF files" +HOMEPAGE="http://dev.openttdcoop.org/projects/grfcodec" +[[ -z ${SCM} ]] && SRC_URI="http://binaries.openttd.org/extra/${PN}/${PV}/${P}-source.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm ppc64 x86" +IUSE="" + +RDEPEND="media-libs/libpng:0" +DEPEND=" + ${RDEPEND} + !games-util/nforenum + dev-lang/perl + dev-libs/boost +" + +src_prepare() { + default + + # Set up Makefile.local so that we respect CXXFLAGS/LDFLAGS + cat > Makefile.local <<-__EOF__ + CXX=$(tc-getCXX) + BOOST_INCLUDE=/usr/include + CXXFLAGS=${CXXFLAGS} + LDOPT=${LDFLAGS} + UPX= + V=1 + FLAGS= + EXE= + __EOF__ + sed -i -e 's/-O2//g' Makefile || die +} + +src_install() { + dobin grfcodec grfid grfstrip nforenum + doman docs/*.1 + dodoc changelog.txt docs/*.txt +} |