diff options
author | Stuart Herbert <stuart@gentoo.org> | 2003-08-25 20:28:27 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2003-08-25 20:28:27 +0000 |
commit | 2b8c9f7479f2cbd22f1912999f1a464275de0ee1 (patch) | |
tree | d53b1672d6b2102a3029e8a3c8708a7ef3e7d291 | |
parent | Initial import (diff) | |
download | historical-2b8c9f7479f2cbd22f1912999f1a464275de0ee1.tar.gz historical-2b8c9f7479f2cbd22f1912999f1a464275de0ee1.tar.bz2 historical-2b8c9f7479f2cbd22f1912999f1a464275de0ee1.zip |
Initial import
-rw-r--r-- | dev-libs/skalibs/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/skalibs/files/digest-skalibs-0.30 | 1 | ||||
-rw-r--r-- | dev-libs/skalibs/files/skalibs-0.30-gccattributes.h.patch | 39 | ||||
-rw-r--r-- | dev-libs/skalibs/skalibs-0.30.ebuild | 45 |
4 files changed, 87 insertions, 1 deletions
diff --git a/dev-libs/skalibs/Manifest b/dev-libs/skalibs/Manifest index fb616947bd77..87fcfa90fcd4 100644 --- a/dev-libs/skalibs/Manifest +++ b/dev-libs/skalibs/Manifest @@ -1,3 +1,4 @@ -MD5 134ec8fa4253314c5ce89c3a793fa666 skalibs-0.30.ebuild 1242 +MD5 9699c78d7378e73d07b933481570b056 ChangeLog 314 +MD5 eb1379b7f724de494889a4d2ba86f946 skalibs-0.30.ebuild 1341 MD5 fc2b9cf2c3db0a0fb6ae394f94756664 files/skalibs-0.30-gccattributes.h.patch 1542 MD5 4c3a4fb9cc708490449379d29c61f4b5 files/digest-skalibs-0.30 64 diff --git a/dev-libs/skalibs/files/digest-skalibs-0.30 b/dev-libs/skalibs/files/digest-skalibs-0.30 new file mode 100644 index 000000000000..9221f988e5ce --- /dev/null +++ b/dev-libs/skalibs/files/digest-skalibs-0.30 @@ -0,0 +1 @@ +MD5 50758869b888f595d54860cfe6d7574c skalibs-0.30.tar.gz 103542 diff --git a/dev-libs/skalibs/files/skalibs-0.30-gccattributes.h.patch b/dev-libs/skalibs/files/skalibs-0.30-gccattributes.h.patch new file mode 100644 index 000000000000..1a1c320a73e1 --- /dev/null +++ b/dev-libs/skalibs/files/skalibs-0.30-gccattributes.h.patch @@ -0,0 +1,39 @@ +--- gccattributes.h 2003-05-24 04:01:12.000000000 +0100 ++++ /usr/local/portage/dev-libs/skalibs/files/skalibs-0.30-gccattributes.h 2003-08-25 20:56:26.000000000 +0100 +@@ -5,25 +5,25 @@ + + #ifdef __GNUC__ + +-#define gccattr_noreturn __attribute__((__noreturn__)) +-#define gccattr_noinline __attribute__((__noinline__)) +-#define gccattr_inline __attribute__((__always_inline__)) +-#define gccattr_const __attribute__((__const__)) +-#define gccattr_unused __attribute__((__unused__)) +-#define gccattr_used __attribute__((__used__)) +-#define gccattr_weak __attribute__((__weak__)) +-#define gccattr_aligned __attribute__((__aligned__)) ++#define gccattr_noreturn __attribute__ ((noreturn)) ++#define gccattr_noinline __attribute__ ((noinline)) ++#define gccattr_inline __attribute__ ((always_inline)) ++#define gccattr_const __attribute__ ((const)) ++#define gccattr_unused __attribute__ ((unused)) ++#define gccattr_used __attribute__ ((used)) ++#define gccattr_weak __attribute__ ((weak)) ++#define gccattr_aligned __attribute__ ((aligned)) + + # if (__GNUC__ >= 3) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 96)) +-#define gccattr_malloc __attribute__((__malloc__)) +-#define gccattr_pure __attribute__((__pure__)) ++#define gccattr_malloc __attribute__ ((malloc)) ++#define gccattr_pure __attribute__ ((pure)) + # else + #define gccattr_malloc + #define gccattr_pure + # endif + + # if (__GNUC__ >= 3) +-#define gccattr_deprecated __attribute__((__deprecated__)) ++#define gccattr_deprecated __attribute__ ((deprecated)) + # else + #define gccattr_deprecated + # endif diff --git a/dev-libs/skalibs/skalibs-0.30.ebuild b/dev-libs/skalibs/skalibs-0.30.ebuild new file mode 100644 index 000000000000..7cd57164d746 --- /dev/null +++ b/dev-libs/skalibs/skalibs-0.30.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/skalibs/skalibs-0.30.ebuild,v 1.1 2003/08/25 20:28:19 stuart Exp $ + +# NOTE: The comments in this file are for instruction and documentation. +# They're not meant to appear with your final, production ebuild. Please +# remember to remove them before submitting or committing your ebuild. That +# doesn't mean you can't add your own comments though. + +DESCRIPTION="common libraries for skarnet.org packages" +HOMEPAGE="http://www.skarnet.org/software/skalibs/" +SRC_URI="http://www.skarnet.org/software/skalibs/${P}.tar.gz" +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="dev-libs/dietlibc" +#RDEPEND="" + +MY_INSTALL="/package/prog/skalibs/" + +# Source directory; the dir where the sources can be found (automatically +# unpacked) inside ${WORKDIR}. S will get a default setting of ${WORKDIR}/${P} +# if you omit this line. +S=${WORKDIR}/prog/${P} + +src_unpack() { + unpack ${A} + + cd ${S}/src/headers + patch gccattributes.h < ${FILESDIR}/skalibs-0.30-gccattributes.h.patch +} + +src_compile() { + package/install +} + +src_install() { + insinto ${MY_INSTALL}/library + doins library/*.a + insinto ${MY_INSTALL}/sysdeps + doins sysdeps/* + insinto ${MY_INSTALL}/include + doins include/* +} |