From 81f8ca2a11fb31383a4a54afe6d9caad95c69458 Mon Sep 17 00:00:00 2001 From: jolan Date: Sun, 12 Dec 2004 23:27:50 +0000 Subject: [PATCH] liboil-0.2.2, library of optimized inner loops --- devel/liboil/Makefile | 28 ++++++++++++++++++++++++++++ devel/liboil/distinfo | 3 +++ devel/liboil/pkg/DESCR | 7 +++++++ devel/liboil/pkg/PFRAG.shared | 3 +++ devel/liboil/pkg/PLIST | 17 +++++++++++++++++ 5 files changed, 58 insertions(+) create mode 100644 devel/liboil/Makefile create mode 100644 devel/liboil/distinfo create mode 100644 devel/liboil/pkg/DESCR create mode 100644 devel/liboil/pkg/PFRAG.shared create mode 100644 devel/liboil/pkg/PLIST diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile new file mode 100644 index 00000000000..56552ef854a --- /dev/null +++ b/devel/liboil/Makefile @@ -0,0 +1,28 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2004/12/12 23:27:50 jolan Exp $ + +COMMENT= "library of optimized inner loops" +DISTNAME= liboil-0.2.2 +CATEGORIES= devel +MASTER_SITES= ${HOMEPAGE}download/ + +HOMEPAGE= http://www.schleef.org/liboil/ + +# LGPL +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes + +BUILD_DEPENDS+= :pkgconfig->=0.15.0:devel/pkgconfig \ + :glib2->=2.4.7:devel/glib2 + +WANTLIB=m + +CONFIGURE_STYLE=gnu + +post-patch: + @perl -pi -e 's|stdint\.h|inttypes.h|g' \ + ${WRKSRC}/liboil/liboiltypes.h \ + ${WRKSRC}/liboil/liboil.h + +.include diff --git a/devel/liboil/distinfo b/devel/liboil/distinfo new file mode 100644 index 00000000000..cb866e226e9 --- /dev/null +++ b/devel/liboil/distinfo @@ -0,0 +1,3 @@ +MD5 (liboil-0.2.2.tar.gz) = 5eeab2994b45f088c3b36a71ae66fb94 +RMD160 (liboil-0.2.2.tar.gz) = 2fb9abe89a5664a40438a15e1088ae7623c3235f +SHA1 (liboil-0.2.2.tar.gz) = 0898c3f83e95637af42b54201e5b2025bc1f9f49 diff --git a/devel/liboil/pkg/DESCR b/devel/liboil/pkg/DESCR new file mode 100644 index 00000000000..fa05e3e4f07 --- /dev/null +++ b/devel/liboil/pkg/DESCR @@ -0,0 +1,7 @@ +Liboil is a library of simple functions that are optimized for various +CPUs. These functions are generally loops implementing simple +algorithms, such as converting an array of N integers to floating-point +numbers or multiplying and summing an array of N numbers. Clearly such +functions are candidates for significant optimization using various +techniques, especially by using extended instructions provided by modern +CPUs (Altivec, MMX, SSE, etc.). diff --git a/devel/liboil/pkg/PFRAG.shared b/devel/liboil/pkg/PFRAG.shared new file mode 100644 index 00000000000..c1b9b4f4e53 --- /dev/null +++ b/devel/liboil/pkg/PFRAG.shared @@ -0,0 +1,3 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2004/12/12 23:27:50 jolan Exp $ +@lib lib/liboil-0.2.so.0.0 +@lib lib/liboiltmp1.so.0.0 diff --git a/devel/liboil/pkg/PLIST b/devel/liboil/pkg/PLIST new file mode 100644 index 00000000000..440025114de --- /dev/null +++ b/devel/liboil/pkg/PLIST @@ -0,0 +1,17 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2004/12/12 23:27:50 jolan Exp $ +%%SHARED%% +include/liboil-0.2/ +include/liboil-0.2/liboil/ +include/liboil-0.2/liboil/liboil.h +include/liboil-0.2/liboil/liboilcpu.h +include/liboil-0.2/liboil/liboildebug.h +include/liboil-0.2/liboil/liboilfuncs.h +include/liboil-0.2/liboil/liboilfunction.h +include/liboil-0.2/liboil/liboilprototype.h +include/liboil-0.2/liboil/liboiltypes.h +lib/liboil-0.2.a +lib/liboil-0.2.la +lib/liboiltmp1.a +lib/liboiltmp1.la +lib/pkgconfig/ +lib/pkgconfig/liboil-0.2.pc