diff options
author | Christian Parpart <trapni@gentoo.org> | 2005-04-14 13:54:08 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2005-04-14 13:54:08 +0000 |
commit | 48932d94afdb4f38ae5f07f460d5c0b8f7c024f3 (patch) | |
tree | 02b4d9522c9b2d806e62fcedf7fb46b4c98b5641 /dev-libs | |
parent | Fixing bug #73384. Thanks to tmw. (diff) | |
download | gentoo-2-48932d94afdb4f38ae5f07f460d5c0b8f7c024f3.tar.gz gentoo-2-48932d94afdb4f38ae5f07f460d5c0b8f7c024f3.tar.bz2 gentoo-2-48932d94afdb4f38ae5f07f460d5c0b8f7c024f3.zip |
initial import
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/swl/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/swl/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/swl/files/digest-swl-0.4.0_rc4 | 1 | ||||
-rw-r--r-- | dev-libs/swl/metadata.xml | 18 | ||||
-rw-r--r-- | dev-libs/swl/swl-0.4.0_rc4.ebuild | 58 |
5 files changed, 89 insertions, 0 deletions
diff --git a/dev-libs/swl/ChangeLog b/dev-libs/swl/ChangeLog new file mode 100644 index 000000000000..6eae3ad355ed --- /dev/null +++ b/dev-libs/swl/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/swl +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/swl/ChangeLog,v 1.1 2005/04/14 13:54:08 trapni Exp $ + +*swl-0.4.0_rc4 (14 Apr 2005) + + 14 Apr 2005; Christian Parpart <trapni@gentoo.org> +metadata.xml, + +swl-0.4.0_rc4.ebuild: + initial import. masked for testing + diff --git a/dev-libs/swl/Manifest b/dev-libs/swl/Manifest new file mode 100644 index 000000000000..ac8778c20006 --- /dev/null +++ b/dev-libs/swl/Manifest @@ -0,0 +1,2 @@ +MD5 727c3f7c4a8f418c58d863088d6db477 swl-0.4.0_rc4.ebuild 1421 +MD5 d2529b0a102e46fe69074d23e071a5c3 files/digest-swl-0.4.0_rc4 66 diff --git a/dev-libs/swl/files/digest-swl-0.4.0_rc4 b/dev-libs/swl/files/digest-swl-0.4.0_rc4 new file mode 100644 index 000000000000..efe87a103a49 --- /dev/null +++ b/dev-libs/swl/files/digest-swl-0.4.0_rc4 @@ -0,0 +1 @@ +MD5 29736710eb15637c7e9349423d219a67 swl-0.4.0-rc4.tar.gz 1218386 diff --git a/dev-libs/swl/metadata.xml b/dev-libs/swl/metadata.xml new file mode 100644 index 000000000000..685509439979 --- /dev/null +++ b/dev-libs/swl/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>trapni@gentoo.org</email> +</maintainer> +<longdescription> +The purpose of the SurakWare Base Library (SWL/libswl) is to serve as a platform +independent framework for C++ and QPascal. The SWL includes both thin layers +over functionality exposed by the Linux and Windows operating systems as well as +higher level classes for many purposes. Save for a few exceptions, the SWL is +completely indpedenent from the STL and the C/C++ runtime library. Platform +independence has been achieved by encapsulating OS-specific implementation +details in a number of SWL classes. There should never be a need to use +"#ifdef"s to distinguish between platforms. +</longdescription> +</pkgmetadata> diff --git a/dev-libs/swl/swl-0.4.0_rc4.ebuild b/dev-libs/swl/swl-0.4.0_rc4.ebuild new file mode 100644 index 000000000000..423fefa506f9 --- /dev/null +++ b/dev-libs/swl/swl-0.4.0_rc4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/swl/swl-0.4.0_rc4.ebuild,v 1.1 2005/04/14 13:54:08 trapni Exp $ + +inherit flag-o-matic multilib + +DESCRIPTION="SWL is a C++ cross platform library." +HOMEPAGE="http://swl.trapni-akane.org/" +SRC_URI="http://upstream.trapni-akane.org/swl/${P/_/-}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0.4" +KEYWORDS="~x86 ~amd64" +IUSE="acl crypt debug doc ipv6" + +DEPEND="acl? ( >=sys-apps/acl-2.2.27 ) + >=sys-libs/glibc-2.3.4 + >=sys-devel/gcc-3.4.3 + crypt? ( >=dev-libs/libgcrypt-1.2.0 ) + doc? ( >=app-doc/doxygen-1.3.9.1 )" + +S="${WORKDIR}/${P/_/-}" + +src_compile() { + use debug && append-flags -g3 + use debug || append-flags -DNDEBUG=1 + + ./configure \ + --prefix="/usr" \ + --host="${CHOST}" \ + --libdir="/usr/$(get_libdir)" \ + `use_enable acl` \ + `use_enable crypt crypto` \ + `use_enable ipv6` \ + --without-tests \ + --without-examples \ + || die "./configure for ABI ${ABI} failed" + + emake || die "make for ABI ${ABI} failed" + + if use doc; then + ewarn "TODO: generate docs {html,man} via doxygen" + #make -C doc api-docs + # XXX: install example/test files? + fi +} + +src_install() { + make install DESTDIR="${D}" || die + + if use doc; then + ewarn "TODO: install man-pages and html version via doxygen" + #dodoc -r doc/html + fi + + dodoc AUTHORS ChangeLog* NEWS README* TODO +} + +# vim:ai:noet:ts=4:nowrap |