public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-libs/xyssl: xyssl-0.9.ebuild
@ 2008-03-29 23:35 Lars Weiler (pylon)
  0 siblings, 0 replies; only message in thread
From: Lars Weiler (pylon) @ 2008-03-29 23:35 UTC (permalink / raw
  To: gentoo-commits

pylon       08/03/29 23:35:07

  Added:                xyssl-0.9.ebuild
  Log:
  Version bump; security bug #214206.
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.1                  net-libs/xyssl/xyssl-0.9.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xyssl/xyssl-0.9.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xyssl/xyssl-0.9.ebuild?rev=1.1&content-type=text/plain

Index: xyssl-0.9.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/xyssl/xyssl-0.9.ebuild,v 1.1 2008/03/29 23:35:06 pylon Exp $

DESCRIPTION="Cryptographic library for embedded systems"
HOMEPAGE="http://xyssl.org/"
SRC_URI="http://xyssl.org/code/download/${P}-gpl.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~sparc ~x86"
IUSE="examples sse2"

DEPEND="virtual/libc"

src_compile() {
	cd "${S}/library"
	if use sse2 ; then
		sed -i '15iCFLAGS += -DHAVE_SSE2 -fPIC' Makefile
	else
		sed -i '15iCFLAGS += -fPIC' Makefile
	fi
	emake libxyssl.a || die "emake failed"
	emake libxyssl.so || die "emake failed"

	if use examples ; then
		cd "${S}"/programs
		emake all
	fi
}

src_test() {
	cd "${S}"/programs
	emake test/selftest
	./test/selftest || die "selftest failed"
}

src_install() {
	dodir /usr/include/xyssl
	insinto /usr/include/xyssl
	doins include/xyssl/*.h
	dolib.so library/libxyssl.so
	dolib.a library/libxyssl.a

	if use examples ; then
		for p in programs/*/* ; do
			if [ -x "${p}" ] ; then
				f=xyssl_`basename "${p}"`
				newbin "${p}" "${f}"
			fi
		done
		for e in aes hash pkey ssl test ; do
			docinto "${e}"
			dodoc programs/"${e}"/*.c
			dodoc programs/"${e}"/*.txt
		done
	fi
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-29 23:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-29 23:35 [gentoo-commits] gentoo-x86 commit in net-libs/xyssl: xyssl-0.9.ebuild Lars Weiler (pylon)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox