diff options
Diffstat (limited to 'sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild')
-rw-r--r-- | sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild b/sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild deleted file mode 100644 index 3de4429bd9e1..000000000000 --- a/sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils toolchain-funcs - -DESCRIPTION="User Interface for TuxOnIce" -HOMEPAGE="http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/Tuxonice-Userui" -SRC_URI="http://tuxonice.net/files/${P}.tar.gz -> ${P}.tar - mirror://debian/pool/main/t/${PN}/${PN}_${PV}-2~exp1.debian.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="fbsplash" - -DEPEND="fbsplash? ( - media-libs/freetype:2= - media-libs/libmng:0= - media-libs/libpng:0= - virtual/jpeg:0= - )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}" - -src_prepare() { - local d=${WORKDIR}/debian/patches - EPATCH_SOURCE=${d} epatch $(<"${d}"/series) - epatch "${FILESDIR}"/${P}-freetype-2.5.patch - sed -i -e 's/make/$(MAKE)/' Makefile || die - sed -i -e 's/ -O3//' Makefile fbsplash/Makefile usplash/Makefile || die -} - -src_compile() { - # Package contain binaries - emake clean - - use fbsplash && export USE_FBSPLASH=1 - emake CC="$(tc-getCC)" tuxoniceui -} - -src_install() { - into / - dosbin tuxoniceui - dodoc AUTHORS ChangeLog KERNEL_API README TODO USERUI_API -} - -pkg_postinst() { - if use fbsplash; then - einfo - elog "You must create a symlink from /etc/splash/tuxonice" - elog "to the theme you want tuxonice to use, e.g.:" - elog - elog " # ln -sfn /etc/splash/emergence /etc/splash/tuxonice" - fi - einfo - einfo "Please see /usr/share/doc/${PF}/README.* for further" - einfo "instructions." - einfo -} |