From bc5448947f45c0ba4d22b5ad736b7c545d8ec075 Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Sat, 8 Aug 2009 21:57:40 -0600 Subject: [PATCH] configure sets correct version in spec file --- configure.ac | 1 + extra/yoink.ebuild | 5 +++-- extra/{yoink.spec => yoink.spec.in} | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) rename extra/{yoink.spec => yoink.spec.in} (98%) diff --git a/configure.ac b/configure.ac index 9267e80..7884e48 100644 --- a/configure.ac +++ b/configure.ac @@ -158,6 +158,7 @@ AC_CONFIG_FILES([Makefile data/Makefile doc/Makefile doc/yoink.6 + extra/yoink.spec src/Makefile yajl/Makefile]) diff --git a/extra/yoink.ebuild b/extra/yoink.ebuild index 76e1514..75a1808 100644 --- a/extra/yoink.ebuild +++ b/extra/yoink.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://www.dogcows.com/yoink/${P}.tar.bz2" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug" +IUSE="debug profile" RDEPEND="media-libs/libsdl[opengl] media-libs/sdl-image[png] @@ -41,7 +41,8 @@ src_configure() { egamesconf \ --disable-dependency-tracking \ --with-assetdir="${GAMES_DATADIR}/${PN}" \ - $(use_enable debug) + $(use_enable debug) \ + $(use_enable profile) } src_install() { diff --git a/extra/yoink.spec b/extra/yoink.spec.in similarity index 98% rename from extra/yoink.spec rename to extra/yoink.spec.in index e72abd2..030a5dc 100644 --- a/extra/yoink.spec +++ b/extra/yoink.spec.in @@ -1,6 +1,6 @@ Summary: Alien-smashing action game. Name: yoink -Version: 0.1 +Version: @VERSION@ Release: 1 License: BSD Group: Amusements/Games -- 2.43.0