diff options
Diffstat (limited to 'x11-misc/xwinwrap/xwinwrap-0_p4.ebuild')
-rw-r--r-- | x11-misc/xwinwrap/xwinwrap-0_p4.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/x11-misc/xwinwrap/xwinwrap-0_p4.ebuild b/x11-misc/xwinwrap/xwinwrap-0_p4.ebuild new file mode 100644 index 000000000000..6b7770e9a1af --- /dev/null +++ b/x11-misc/xwinwrap/xwinwrap-0_p4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit toolchain-funcs vcs-snapshot + +DESCRIPTION="replace a desktop background with a movie or screensaver" +HOMEPAGE="http://tech.shantanugoel.com/projects/linux/shantz-xwinwrap" +SRC_URI="http://bazaar.launchpad.net/~shantanu-goel/xwinwrap/devel/tarball/4 -> ${P}.tar.gz" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libXext + x11-libs/libXrender" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${P}/${PN}/devel + +src_compile() { + local cmd="$(tc-getCC) -Wall ${CFLAGS} ${PN}.c -o ${PN} ${LDFLAGS} \ + $(pkg-config --libs x11 xext xrender)" + echo $cmd + $cmd || die +} + +src_install() { + dobin ${PN} +} |