summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-10-03 15:58:00 +0000
committerNick Hadaway <raker@gentoo.org>2002-10-03 15:58:00 +0000
commitd10ae104676bb7875862908ded403380f748e745 (patch)
tree269e1072820dcc422f96913d709ae397f7c01c91 /x11-plugins/wmget
parentUpdated patch (diff)
downloadgentoo-2-d10ae104676bb7875862908ded403380f748e745.tar.gz
gentoo-2-d10ae104676bb7875862908ded403380f748e745.tar.bz2
gentoo-2-d10ae104676bb7875862908ded403380f748e745.zip
Initial add of ebuild to portage. Closes bug #3236
Diffstat (limited to 'x11-plugins/wmget')
-rw-r--r--x11-plugins/wmget/ChangeLog9
-rw-r--r--x11-plugins/wmget/files/digest-wmget-0.4.41
-rw-r--r--x11-plugins/wmget/files/makefile.diff28
-rw-r--r--x11-plugins/wmget/wmget-0.4.4.ebuild37
4 files changed, 75 insertions, 0 deletions
diff --git a/x11-plugins/wmget/ChangeLog b/x11-plugins/wmget/ChangeLog
new file mode 100644
index 000000000000..6b1ea28eb937
--- /dev/null
+++ b/x11-plugins/wmget/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for x11-plugins/wmget
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmget/ChangeLog,v 1.1 2002/10/03 15:58:00 raker Exp $
+
+*wmget-0.4.4 (04 Oct 2002)
+
+ 04 Oct 2002; Nick Hadaway <raker@gentoo.org> wmget-0.4.4.ebuild,
+ files/digest-wmget-0.4.4, files/makefile.diff :
+ Initial addition of ebuild to portage.
diff --git a/x11-plugins/wmget/files/digest-wmget-0.4.4 b/x11-plugins/wmget/files/digest-wmget-0.4.4
new file mode 100644
index 000000000000..5519cea421b9
--- /dev/null
+++ b/x11-plugins/wmget/files/digest-wmget-0.4.4
@@ -0,0 +1 @@
+MD5 4bfc95d43238a9f7a66ebb397b6cd7eb wmget-0.4.4-src.tar.gz 37982
diff --git a/x11-plugins/wmget/files/makefile.diff b/x11-plugins/wmget/files/makefile.diff
new file mode 100644
index 000000000000..be770071ab1f
--- /dev/null
+++ b/x11-plugins/wmget/files/makefile.diff
@@ -0,0 +1,28 @@
+diff -urN wmget/Makefile wmget-modified/Makefile
+--- wmget/Makefile 2002-06-19 17:22:57.000000000 -0500
++++ wmget-modified/Makefile 2002-10-03 10:51:38.000000000 -0500
+@@ -46,7 +46,7 @@
+
+ # To specify a different prefix, you can override this on the command line
+ # make PREFIX=/opt/dockapps install
+-PREFIX= /usr/local
++PREFIX= /usr
+
+ INSTALLDIR= install -d -m 755
+ INSTALLBIN= install -m 555
+@@ -86,12 +86,12 @@
+ echo $(PREFIX) > install.prefix ; \
+ $(INSTALLDIR) $(PREFIX)/bin ; \
+ $(INSTALLBIN) wmget $(PREFIX)/bin/wmget ; \
+- $(INSTALLDIR) $(PREFIX)/man/man1 ; \
+- $(INSTALLMAN) wmget.1 $(PREFIX)/man/man1/wmget.1 ; \
++ $(INSTALLDIR) $(PREFIX)/share/man/man1 ; \
++ $(INSTALLMAN) wmget.1 $(PREFIX)/share/man/man1/wmget.1 ; \
+ fi
+
+ uninstall:
+- cd `cat install.prefix` && rm -f bin/wmget man/man1/wmget.1
++ cd `cat install.prefix` && rm -f bin/wmget share/man/man1/wmget.1
+ rm -f install.prefix
+
+ wmget: dockapplib $(OBJS)
diff --git a/x11-plugins/wmget/wmget-0.4.4.ebuild b/x11-plugins/wmget/wmget-0.4.4.ebuild
new file mode 100644
index 000000000000..c9fdf4dddf15
--- /dev/null
+++ b/x11-plugins/wmget/wmget-0.4.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmget/wmget-0.4.4.ebuild,v 1.1 2002/10/03 15:58:00 raker Exp $
+
+S="${WORKDIR}/wmget"
+
+DESCRIPTION="libcurl-based dockapp for automated-downloads"
+HOMEPAGE="http://amtrickey.net/wmget/"
+SRC_URI="http://amtrickey.net/download/${P}-src.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/x11
+ >=net-ftp/curl-7.9.7"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/makefile.diff || die "patch failed"
+
+}
+
+src_compile() {
+
+ emake || die "parallel make failed"
+
+}
+
+src_install() {
+
+ make PREFIX=${D}/usr install || die "make install failed"
+
+}