summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-06-21 14:19:10 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-06-21 14:19:10 +0000
commit37cbfef5eafde426d94cf326ed224b37ea644243 (patch)
tree1cdf5880183f5177ecd6952c423087e350e7d34c /app-misc/jot
parenttypos in comments, also make it depend on any rpm2targz eclass for now (diff)
downloadhistorical-37cbfef5eafde426d94cf326ed224b37ea644243.tar.gz
historical-37cbfef5eafde426d94cf326ed224b37ea644243.tar.bz2
historical-37cbfef5eafde426d94cf326ed224b37ea644243.zip
first rpm.eclass demonstration
Diffstat (limited to 'app-misc/jot')
-rw-r--r--app-misc/jot/ChangeLog7
-rw-r--r--app-misc/jot/Manifest4
-rw-r--r--app-misc/jot/jot-9.0.ebuild23
3 files changed, 15 insertions, 19 deletions
diff --git a/app-misc/jot/ChangeLog b/app-misc/jot/ChangeLog
index f4ea75941638..077cc09884e9 100644
--- a/app-misc/jot/ChangeLog
+++ b/app-misc/jot/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/jot
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/jot/ChangeLog,v 1.1 2003/04/22 21:11:33 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/jot/ChangeLog,v 1.2 2003/06/21 14:19:02 liquidx Exp $
+
+*jot-9.0 (21 Jun 2003)
+
+ 21 Jun 2003; Alastair Tse <liquidx@gentoo.org> jot-9.0.ebuild:
+ converted to use rpm.eclass and other cleanups
*jot-0.9 (22 Apr 2003)
diff --git a/app-misc/jot/Manifest b/app-misc/jot/Manifest
index dc03232ba00e..f0a8e0dad134 100644
--- a/app-misc/jot/Manifest
+++ b/app-misc/jot/Manifest
@@ -1,3 +1,3 @@
-MD5 06e7d3b84cd77a391c4170823cc5c439 jot-9.0.ebuild 762
-MD5 814f5584247523e7d995aa5a1dddfb41 ChangeLog 398
+MD5 2323e48591bb67846437c4cbe447982c ChangeLog 539
+MD5 d671d446fbbb31efafc301ca6548249b jot-9.0.ebuild 587
MD5 5a4263e2d5865b49094087967b5359e3 files/digest-jot-9.0 68
diff --git a/app-misc/jot/jot-9.0.ebuild b/app-misc/jot/jot-9.0.ebuild
index eafac3a2df8d..8206eaf77d51 100644
--- a/app-misc/jot/jot-9.0.ebuild
+++ b/app-misc/jot/jot-9.0.ebuild
@@ -1,29 +1,20 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/jot/jot-9.0.ebuild,v 1.1 2003/04/22 21:11:33 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/jot/jot-9.0.ebuild,v 1.2 2003/06/21 14:19:02 liquidx Exp $
+inherit rpm
+
+RH_REV=3
DESCRIPTION="Print out increasing, decreasing, random, or redundant data"
HOMEPAGE="http://freshmeat.net/projects/bsd-jot/"
-SRC_URI="http://www.mit.edu/afs/athena/system/rhlinux/athena-9.0/free/SRPMS/athena-jot-9.0-3.src.rpm"
+SRC_URI="http://www.mit.edu/afs/athena/system/rhlinux/athena-${PV}/free/SRPMS/athena-${P}-${RH_REV}.src.rpm"
+
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
-DEPEND="rpm2targz"
-RDEPEND=""
-S="${WORKDIR}/athena-jot-9.0"
-src_unpack() {
- cd ${WORKDIR}
- rpm2targz ${DISTDIR}/${A}
- tar xzf athena-jot-9.0-3.src.tar.gz
- tar xzf athena-jot-9.0.tar.gz
-}
-
-src_compile() {
- econf || die
- emake || die
-}
+S="${WORKDIR}/athena-${P}"
src_install() {
einstall || die