You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9...

43 lines
1.2 KiB

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-ubuntulooks/gtk-engines-ubuntulooks-0.9.12-r3.ebuild,v 1.5 2010/08/16 20:53:28 abcd Exp $
EAPI=2
inherit eutils autotools
PATCH_LEVEL=12
MY_PN=${PN/gtk-engines-/}
DESCRIPTION="a derivative of the standard Clearlooks engine, using a more orange approach"
HOMEPAGE="http://packages.ubuntu.com/search?keywords=gtk2-engines-ubuntulooks"
SRC_URI="mirror://ubuntu/pool/main/u/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz
mirror://ubuntu/pool/main/u/${MY_PN}/${MY_PN}_${PV}-${PATCH_LEVEL}.diff.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~x86-interix ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
RDEPEND=">=x11-libs/gtk+-2.8:2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S=${WORKDIR}/${MY_PN}-${PV}
src_prepare() {
epatch "${WORKDIR}"/${MY_PN}_${PV}-${PATCH_LEVEL}.diff
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" epatch debian/patches
eautoreconf # need new libtool for interix
}
src_configure() {
econf --disable-dependency-tracking --enable-animation
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog README
newdoc debian/changelog ChangeLog.debian
}