diff options
Diffstat (limited to 'app-misc/atol/atol-0.7.3.ebuild')
-rw-r--r-- | app-misc/atol/atol-0.7.3.ebuild | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/app-misc/atol/atol-0.7.3.ebuild b/app-misc/atol/atol-0.7.3.ebuild index 870652c8d..fc5272572 100644 --- a/app-misc/atol/atol-0.7.3.ebuild +++ b/app-misc/atol/atol-0.7.3.ebuild @@ -10,28 +10,38 @@ SRC_URI="mirror://sourceforge/${PN}/${P}_src.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~x86" -IUSE="gnome" +KEYWORDS="~amd64 ~x86" +IUSE="gnome test" RDEPEND=">=x11-libs/gtk+-2.6" DEPEND="${RDEPEND} dev-util/pkgconfig" + #test? ( dev-util/valgrind )" + MAKEOPTS="${MAKEOPTS} -j1" +# test doesn't work +RESTRICT="test" + src_unpack() { - unpack ${A} && cd ${S} + unpack ${A} + cd "${S}" # Respect CFLAGS and don't use --as-needed by default - epatch "$FILESDIR/${P}-CFLAGS.patch" + epatch "${FILESDIR}/${P}-CFLAGS.patch" + + # Fix multilib + sed -i -e "s#/lib/#/$(get_libdir)/#" "${S}/Makefile" \ + || die "multilib sed failed" if ! use gnome; then # Comment variable in the Makefile if we don't have gnome sed -i -e 's/HAVE_GNOME_VFS=1/#HAVE_GNOME_VFS=1/g' Makefile || \ - die "sed failed" + die "gnome sed failed" fi } src_install() { - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "make install failed" dodoc readme.txt } |