diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2011-09-20 22:37:44 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2011-09-20 22:37:44 +0000 |
commit | ab6c3582df1d2d42dfa282d5f821e1cfa58ee3df (patch) | |
tree | d42445ce5b794c55b0d98114c28939f0a5d024bd /app-misc/datefudge | |
parent | Migrate to git-2, update EGIT_REPO_URI. (diff) | |
download | gentoo-2-ab6c3582df1d2d42dfa282d5f821e1cfa58ee3df.tar.gz gentoo-2-ab6c3582df1d2d42dfa282d5f821e1cfa58ee3df.tar.bz2 gentoo-2-ab6c3582df1d2d42dfa282d5f821e1cfa58ee3df.zip |
Version bump from upstream, migrate to EAPI4, add prefix mods from bug 383749
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'app-misc/datefudge')
-rw-r--r-- | app-misc/datefudge/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/datefudge/datefudge-1.17.ebuild | 37 |
2 files changed, 43 insertions, 1 deletions
diff --git a/app-misc/datefudge/ChangeLog b/app-misc/datefudge/ChangeLog index 2a23da962f49..2a4aaf00a3e9 100644 --- a/app-misc/datefudge/ChangeLog +++ b/app-misc/datefudge/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/datefudge # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/datefudge/ChangeLog,v 1.13 2011/02/22 19:11:12 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/datefudge/ChangeLog,v 1.14 2011/09/20 22:37:44 darkside Exp $ + +*datefudge-1.17 (20 Sep 2011) + + 20 Sep 2011; Jeremy Olexa <darkside@gentoo.org> +datefudge-1.17.ebuild: + Version bump from upstream, migrate to EAPI4, add prefix mods from bug 383749 22 Feb 2011; nixnut <nixnut@gentoo.org> datefudge-1.14.ebuild: ppc stable #352744 diff --git a/app-misc/datefudge/datefudge-1.17.ebuild b/app-misc/datefudge/datefudge-1.17.ebuild new file mode 100644 index 000000000000..193638597b10 --- /dev/null +++ b/app-misc/datefudge/datefudge-1.17.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/datefudge/datefudge-1.17.ebuild,v 1.1 2011/09/20 22:37:44 darkside Exp $ + +EAPI=4 +inherit multilib toolchain-funcs + +DESCRIPTION="A program (and preload library) to fake system date" +HOMEPAGE="http://packages.qa.debian.org/d/datefudge.html" +SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +src_prepare() { + sed -i \ + -e '/dpkg-parsechangelog/d' \ + -e "s:usr/lib:usr/$(get_libdir):" \ + -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:' \ + Makefile || die + + if use prefix; then + sed -i -e '/-o root -g root/d' Makefile || die + fi +} + +src_compile() { + tc-export CC + emake VERSION="${PV}" +} + +src_install() { + emake DESTDIR="${ED}" VERSION="${PV}" install + dodoc debian/changelog README +} |