summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-03-06 21:55:43 +0000
committerAlin Năstac <mrness@gentoo.org>2006-03-06 21:55:43 +0000
commit5ebcf8a2af5aeb3a1985edf655c2d3bc17d917e9 (patch)
tree3ba9cb414304b0c4e01c78406fb868ffa67bfbe8 /net-proxy/squirm
parentmerged v4l and v4l2 (diff)
downloadgentoo-2-5ebcf8a2af5aeb3a1985edf655c2d3bc17d917e9.tar.gz
gentoo-2-5ebcf8a2af5aeb3a1985edf655c2d3bc17d917e9.tar.bz2
gentoo-2-5ebcf8a2af5aeb3a1985edf655c2d3bc17d917e9.zip
sanitize the code
(Portage version: 2.0.54)
Diffstat (limited to 'net-proxy/squirm')
-rw-r--r--net-proxy/squirm/Manifest12
-rw-r--r--net-proxy/squirm/squirm-1.23.ebuild18
2 files changed, 11 insertions, 19 deletions
diff --git a/net-proxy/squirm/Manifest b/net-proxy/squirm/Manifest
index 27e473a94ff6..a299dce7882f 100644
--- a/net-proxy/squirm/Manifest
+++ b/net-proxy/squirm/Manifest
@@ -1,14 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 8c10440d756e822e30f0fbf6af4f1c79 ChangeLog 1117
MD5 09f57f010bc9572e95566ab97181d8fc files/digest-squirm-1.23 59
MD5 72e4905c488cbc93ddc5cedf48876077 metadata.xml 220
-MD5 a7f4687d97907ac6c1eb3773374b0a1e squirm-1.23.ebuild 996
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDmt37V3J2n04EauwRAjENAJ0acBsMU12jQ03zZ1PPjH1Lh0W8JACfeZtC
-BcRivhxFQgt2JaXrqrkxfaI=
-=jYt/
------END PGP SIGNATURE-----
+MD5 ec60a9a8c80f085f74220359c81d2a7d squirm-1.23.ebuild 936
diff --git a/net-proxy/squirm/squirm-1.23.ebuild b/net-proxy/squirm/squirm-1.23.ebuild
index bf14a75603d4..ee8833c49cc2 100644
--- a/net-proxy/squirm/squirm-1.23.ebuild
+++ b/net-proxy/squirm/squirm-1.23.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squirm/squirm-1.23.ebuild,v 1.2 2005/07/10 01:09:55 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squirm/squirm-1.23.ebuild,v 1.3 2006/03/06 21:55:43 mrness 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 ppc"
@@ -13,17 +14,18 @@ IUSE=""
RDEPEND="net-proxy/squid"
src_unpack() {
- unpack ${A} || die "unpack failed"
- cd ${S} || die
- mv Makefile Makefile.orig
- sed -e 's|^EXTRALIBS=.*|EXTRALIBS=|' \
+ unpack ${A}
+
+ sed -i \
+ -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
+ -e "s|^CFLAGS =.*|CFLAGS=${CFLAGS} -DPREFIX=\\\\\"\$(PREFIX)\\\\\"|" \
+ "${S}/Makefile"
}
src_install() {
- make PREFIX=${D}/usr/squirm install || die "make install failed"
+ make PREFIX="${D}/usr/squirm" install || die "make install failed"
}
pkg_postinst() {