/[gentoo-x86]/app-misc/datefudge/datefudge-1.17.ebuild
Gentoo

Contents of /app-misc/datefudge/datefudge-1.17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Tue Jun 10 00:39:00 2014 UTC (6 years, 5 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +3 -3 lines
Add arm64 love.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/datefudge/datefudge-1.17.ebuild,v 1.11 2012/05/10 16:24:16 aballier Exp $
4
5 EAPI=4
6 inherit multilib toolchain-funcs eutils
7
8 DESCRIPTION="A program (and preload library) to fake system date"
9 HOMEPAGE="http://packages.qa.debian.org/d/datefudge.html"
10 SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
15 IUSE=""
16
17 src_prepare() {
18 use userland_BSD && epatch "${FILESDIR}"/${P}-bsd.patch
19 sed -i \
20 -e '/dpkg-parsechangelog/d' \
21 -e "s:usr/lib:usr/$(get_libdir):" \
22 Makefile || die
23
24 if use prefix; then
25 sed -i -e '/-o root -g root/d' Makefile || die
26 fi
27 }
28
29 src_compile() {
30 emake CC="$(tc-getCC)" VERSION="${PV}"
31 }
32
33 src_install() {
34 emake DESTDIR="${ED}" VERSION="${PV}" install
35 dodoc debian/changelog README
36 }

  ViewVC Help
Powered by ViewVC 1.1.20