diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-10-10 13:29:34 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-10-10 13:29:34 +0000 |
commit | 88c6fccc1ac2731a5b0452caaf746b2ac85759d0 (patch) | |
tree | f8a7049ec131c5c82b7bac2462cc1d3045012ee4 /dev-libs/cgilib | |
parent | New package: RETicker-0.4.5k, imported form breakmygentoo.net. Big thanks to... (diff) | |
download | historical-88c6fccc1ac2731a5b0452caaf746b2ac85759d0.tar.gz historical-88c6fccc1ac2731a5b0452caaf746b2ac85759d0.tar.bz2 historical-88c6fccc1ac2731a5b0452caaf746b2ac85759d0.zip |
Making cross-compile ready wrt bug #147431 thanks to Cedric Krier
Package-Manager: portage-2.1.2_pre2-r6
Diffstat (limited to 'dev-libs/cgilib')
-rw-r--r-- | dev-libs/cgilib/Manifest | 14 | ||||
-rw-r--r-- | dev-libs/cgilib/cgilib-0.5.ebuild | 20 |
2 files changed, 19 insertions, 15 deletions
diff --git a/dev-libs/cgilib/Manifest b/dev-libs/cgilib/Manifest index 35c9707cd0bf..d10083bd5b47 100644 --- a/dev-libs/cgilib/Manifest +++ b/dev-libs/cgilib/Manifest @@ -6,10 +6,10 @@ MD5 81af59a7b4da26191ad1d4ca2f68137c files/cgilib-0.5-cgitest.diff 792 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 @@ -24,7 +24,7 @@ SHA256 4d03ffc09030662750cd0d41bb7ab54467d296144ccabf25f79e0b9d4395ad09 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFKEebamhnQswr0vIRAjW3AKCcuJcEl0pO4EkR0uP20xlZckU/rwCgmUo7 -DC+7ma3V46/YFq8LLvBaHrI= -=YMa/ +iD8DBQFFK6BQz974XjDVpbkRAmBmAKCyFyoHTxvMuYgS5gU2Gz03ZSDzqACgykrV +8e4lxht3m4r4UGNs1MJjtfg= +=sfEN -----END PGP SIGNATURE----- diff --git a/dev-libs/cgilib/cgilib-0.5.ebuild b/dev-libs/cgilib/cgilib-0.5.ebuild index 37619c13277c..b16237f1db8a 100644 --- a/dev-libs/cgilib/cgilib-0.5.ebuild +++ b/dev-libs/cgilib/cgilib-0.5.ebuild @@ -1,6 +1,8 @@ # 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/" @@ -13,17 +15,19 @@ IUSE="" 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 } |