From: Charles McGarvey Date: Sun, 9 Aug 2009 03:57:40 +0000 (-0600) Subject: configure sets correct version in spec file X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=bc5448947f45c0ba4d22b5ad736b7c545d8ec075;p=chaz%2Fyoink configure sets correct version in spec file --- 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