summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-05 15:46:12 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-05 15:46:12 +0000
commit162b1044bcbe88a25474a455534e635179be9f16 (patch)
tree72f67cf82d53c8bcda8549a302b209fc2185d693 /app-misc/datefudge/datefudge-1.14.ebuild
parentAdded overdue mask on adobe-flash for bug 322855. (diff)
downloadgentoo-2-162b1044bcbe88a25474a455534e635179be9f16.tar.gz
gentoo-2-162b1044bcbe88a25474a455534e635179be9f16.tar.bz2
gentoo-2-162b1044bcbe88a25474a455534e635179be9f16.zip
Initial commit.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/datefudge/datefudge-1.14.ebuild')
-rw-r--r--app-misc/datefudge/datefudge-1.14.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/app-misc/datefudge/datefudge-1.14.ebuild b/app-misc/datefudge/datefudge-1.14.ebuild
new file mode 100644
index 000000000000..6b651252f507
--- /dev/null
+++ b/app-misc/datefudge/datefudge-1.14.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/datefudge/datefudge-1.14.ebuild,v 1.1 2010/07/05 15:46:12 ssuominen Exp $
+
+EAPI=2
+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="~amd64 ~x86"
+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
+}
+
+src_compile() {
+ tc-export CC
+ emake VERSION="${PV}" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" VERSION="${PV}" install || die
+ dodoc debian/changelog README
+}