summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ Robert Ray <jrray@gentoo.org>2002-11-08 14:57:29 +0000
committerJ Robert Ray <jrray@gentoo.org>2002-11-08 14:57:29 +0000
commit6f930d3559e9fd8fd7b814afd9b94bf301d9b4c6 (patch)
tree62199a52fdaa028191f1af55eeb0a39e521060b4 /net-www/squirm
parentnew version of uudeview (diff)
downloadgentoo-2-6f930d3559e9fd8fd7b814afd9b94bf301d9b4c6.tar.gz
gentoo-2-6f930d3559e9fd8fd7b814afd9b94bf301d9b4c6.tar.bz2
gentoo-2-6f930d3559e9fd8fd7b814afd9b94bf301d9b4c6.zip
New ebuild
Diffstat (limited to 'net-www/squirm')
-rw-r--r--net-www/squirm/ChangeLog8
-rw-r--r--net-www/squirm/files/digest-squirm-1.231
-rw-r--r--net-www/squirm/squirm-1.23.ebuild41
3 files changed, 50 insertions, 0 deletions
diff --git a/net-www/squirm/ChangeLog b/net-www/squirm/ChangeLog
new file mode 100644
index 000000000000..be777b7e2cbf
--- /dev/null
+++ b/net-www/squirm/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-www/squirm
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/squirm/ChangeLog,v 1.1 2002/11/08 14:57:29 jrray Exp $
+
+*squirm-1.23 (08 Nov 2002)
+
+ 08 Nov 2002; J Robert Ray <jrray@gentoo.org> :
+ New ebuild.
diff --git a/net-www/squirm/files/digest-squirm-1.23 b/net-www/squirm/files/digest-squirm-1.23
new file mode 100644
index 000000000000..3ba17c36c83c
--- /dev/null
+++ b/net-www/squirm/files/digest-squirm-1.23
@@ -0,0 +1 @@
+MD5 aedcaab22ca3ae0c8440bd0ef9d6e75e squirm-1.23.tgz 43151
diff --git a/net-www/squirm/squirm-1.23.ebuild b/net-www/squirm/squirm-1.23.ebuild
new file mode 100644
index 000000000000..17befc7501e5
--- /dev/null
+++ b/net-www/squirm/squirm-1.23.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/squirm/squirm-1.23.ebuild,v 1.1 2002/11/08 14:57:29 jrray Exp $
+
+DESCRIPTION="A redirector for Squid"
+HOMEPAGE="http://squirm.foote.com.au"
+SRC_URI="http://squirm.foote.com.au/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="net-www/squid"
+
+S="${WORKDIR}/${P}"
+
+src_unpack() {
+ unpack ${A} || die "unpack failed"
+ cd ${S} || die
+ mv Makefile Makefile.orig
+ sed -e 's|^EXTRALIBS=.*|EXTRALIBS=|' \
+ -e 's|^PREFIX=.*|PREFIX=/usr/squirm|' \
+ -e "s|^OPTIMISATION=.*|OPTIMISATION=${CFLAGS}|" \
+ -e "s|^CFLAGS =.*|CFLAGS=${CFLAGS} -DPREFIX=\\\\\"\$(PREFIX)\\\\\"|" Makefile.orig > Makefile
+}
+
+src_compile() {
+ cd ${S}
+ emake || die "make failed"
+}
+
+src_install() {
+ make PREFIX=${D}/usr/squirm install || die "make install failed"
+}
+
+pkg_postinst() {
+ einfo "To enable squirm add the following lines to squid.conf:"
+ einfo "redirect_program /usr/squirm/bin/squirm"
+ einfo "redirect_children 10"
+}