# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=4 inherit git toolchain-funcs EGIT_REPO_URI="git://github.com/joelburget/slimlock.git" KEYWORDS="~amd64 ~x86" SRC_URI="" DESCRIPTION="screen locker borrowing the interface of the SLiM login-manager" HOMEPAGE="http://programsthatsmellgood.com/slimlock/" LICENSE="GPL-2" SLOT="0" DEPEND=" x11-misc/slim media-libs/freetype " src_prepare() { git_src_prepare sed -i \ -e "s/LDFLAGS=\(.*\)/LIBS=\1/" \ -e "s/^CXX\ .*/CXX=$(tc-getCXX)/" \ -e "s/^CC\ .*/CC=$(tc-getCC)/" \ -e "s/-o \$(NAME)/-o \$(NAME) \$(LIBS)/" \ Makefile || die "sed failed" } #src_compile() { # emake || die "emake failed" #} # #src_install() { # emake DESTDIR="${D}" install || die "installation failed" #}