RMD160 59e9ce56bd2a85e201052ce71466a0cfc6140a68 files/cgilib-0.5-cgitest.diff 792
SHA256 436cd53645f834219057cd6136078b92c2809203221ef0d7b19d6c761f0a7ff8 files/cgilib-0.5-cgitest.diff 792
DIST cgilib-0.5.tar.gz 13991 RMD160 0188fc57aee277e772e32328b96aa836557c0c63 SHA1 3ba65e9fac43b875427a126ebbaaa6155e9692df SHA256 7e480fb0bb3e91f51130e2785acdf8e195b75e10b0273c90425e10459264cf35
-EBUILD cgilib-0.5.ebuild 792 RMD160 813055b6802882ba43e7692435de3cfea1ac4c2b SHA1 0516b726d7c8fa3fd6bc0f37f042bd88493d7720 SHA256 82ac8c858f5747df4ae96913d8b55f17369821c25499abb504b0ca056254fbc3
-MD5 1adb2214070226fa2d069d336f0ee3a1 cgilib-0.5.ebuild 792
-RMD160 813055b6802882ba43e7692435de3cfea1ac4c2b cgilib-0.5.ebuild 792
-SHA256 82ac8c858f5747df4ae96913d8b55f17369821c25499abb504b0ca056254fbc3 cgilib-0.5.ebuild 792
+EBUILD cgilib-0.5.ebuild 881 RMD160 895980ccad06b47a54b8677cbd1996eb43369968 SHA1 d329b319897d12d72ed1e64bed065557a9aae9df SHA256 6624a09b717b34e8fd5d99ae28a818223f4ca9d1c72ff577e968e006a4c12489
+MD5 bd3e162d7872261373e3dda1861135b4 cgilib-0.5.ebuild 881
+RMD160 895980ccad06b47a54b8677cbd1996eb43369968 cgilib-0.5.ebuild 881
+SHA256 6624a09b717b34e8fd5d99ae28a818223f4ca9d1c72ff577e968e006a4c12489 cgilib-0.5.ebuild 881
MISC ChangeLog 2712 RMD160 4dfd70bd023e8dd94cae944f2a85f59b622e7c19 SHA1 d17ffe7e760bd952011e21ae52d4a16d05559323 SHA256 96110cae1874a49ce4307a6409c80e15cecc7e6c7143055334ffe98fdded87e2
MD5 9414743b59f13e29888c47156c0eb0a7 ChangeLog 2712
RMD160 4dfd70bd023e8dd94cae944f2a85f59b622e7c19 ChangeLog 2712
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFKEebamhnQswr0vIRAjW3AKCcuJcEl0pO4EkR0uP20xlZckU/rwCgmUo7
-DC+7ma3V46/YFq8LLvBaHrI=
-=YMa/
+iD8DBQFFK6BQz974XjDVpbkRAmBmAKCyFyoHTxvMuYgS5gU2Gz03ZSDzqACgykrV
+8e4lxht3m4r4UGNs1MJjtfg=
+=sfEN
-----END PGP SIGNATURE-----
# 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.16 2006/10/08 00:34:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgilib/cgilib-0.5.ebuild,v 1.17 2006/10/10 13:29:34 jokey Exp $
+
+inherit toolchain-funcs
DESCRIPTION="A programmers library for the CGI interface"
HOMEPAGE="http://www.infodrom.org/projects/cgilib/"
src_unpack() {
unpack ${A}
- cd "${S}"
- sed -i \
- -e "s|^\(CFLAGS = -I. -Wall\).*$|\1 ${CFLAGS}|" \
- Makefile \
- || die "sed Makefile failed"
+ cd ${S}
+ sed -i "s|^\(CFLAGS = -I. -Wall\).*$|\1 ${CFLAGS}|" Makefile || \
+ die "sed Makefile failed"
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) CFLAGS="-I. -Wall ${CFLAGS}" || die "emake failed"
}
src_install() {
insinto /usr/include
- doins cgi.h || die
- dolib.a libcgi.a || die
+ doins cgi.h
+ dolib.a libcgi.a
doman *.[35]
dodoc CHANGES CREDITS readme cookies.txt
}