summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-10-08 00:34:12 +0000
committerMike Frysinger <vapier@gentoo.org>2006-10-08 00:34:12 +0000
commitdf92972e3d770df34d4ce9d9785c10365ec599c2 (patch)
treea7d53fe0a9f5503d8a5470c95f714fd82276ce01 /dev-libs/cgilib/cgilib-0.5.ebuild
parents390 stable (diff)
downloadgentoo-2-df92972e3d770df34d4ce9d9785c10365ec599c2.tar.gz
gentoo-2-df92972e3d770df34d4ce9d9785c10365ec599c2.tar.bz2
gentoo-2-df92972e3d770df34d4ce9d9785c10365ec599c2.zip
arm/s390/sh love
(Portage version: 2.1.2_pre2-r5)
Diffstat (limited to 'dev-libs/cgilib/cgilib-0.5.ebuild')
-rw-r--r--dev-libs/cgilib/cgilib-0.5.ebuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/dev-libs/cgilib/cgilib-0.5.ebuild b/dev-libs/cgilib/cgilib-0.5.ebuild
index f5ebe93284af..37619c13277c 100644
--- a/dev-libs/cgilib/cgilib-0.5.ebuild
+++ b/dev-libs/cgilib/cgilib-0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgilib/cgilib-0.5.ebuild,v 1.15 2006/02/04 07:09:41 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgilib/cgilib-0.5.ebuild,v 1.16 2006/10/08 00:34:12 vapier Exp $
DESCRIPTION="A programmers library for the CGI interface"
HOMEPAGE="http://www.infodrom.org/projects/cgilib/"
@@ -8,20 +8,22 @@ SRC_URI="http://www.infodrom.org/projects/${PN}/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
IUSE=""
src_unpack() {
unpack ${A}
- cd ${S}
- sed -i "s|^\(CFLAGS = -I. -Wall\).*$|\1 ${CFLAGS}|" Makefile || \
- die "sed Makefile failed"
+ cd "${S}"
+ sed -i \
+ -e "s|^\(CFLAGS = -I. -Wall\).*$|\1 ${CFLAGS}|" \
+ Makefile \
+ || die "sed Makefile failed"
}
src_install() {
insinto /usr/include
- doins cgi.h
- dolib.a libcgi.a
+ doins cgi.h || die
+ dolib.a libcgi.a || die
doman *.[35]
dodoc CHANGES CREDITS readme cookies.txt
}