pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libaura Initial import of libaura-2.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/cb1f96e3d7e3
branches: trunk
changeset: 488751:cb1f96e3d7e3
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Wed Feb 09 05:40:28 2005 +0000
description:
Initial import of libaura-2.0.
libaura is a LIBrary of Assorted Useful Reusable Abstractions. Notably,
it provides dictionary and extensible buffer data types, memory management
functions (wrappers to malloc() and free()), and filesystem predicates
(is_file(), is_dir(), etc.)
diffstat:
devel/libaura/DESCR | 4 +++
devel/libaura/Makefile | 21 ++++++++++++++++++++
devel/libaura/PLIST | 12 +++++++++++
devel/libaura/buildlink3.mk | 18 +++++++++++++++++
devel/libaura/distinfo | 5 ++++
devel/libaura/patches/patch-aa | 44 ++++++++++++++++++++++++++++++++++++++++++
6 files changed, 104 insertions(+), 0 deletions(-)
diffs (128 lines):
diff -r 0a397f5b378c -r cb1f96e3d7e3 devel/libaura/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libaura/DESCR Wed Feb 09 05:40:28 2005 +0000
@@ -0,0 +1,4 @@
+libaura is a LIBrary of Assorted Useful Reusable Abstractions. Notably,
+it provides dictionary and extensible buffer data types, memory management
+functions (wrappers to malloc() and free()), and filesystem predicates
+(is_file(), is_dir(), etc.)
diff -r 0a397f5b378c -r cb1f96e3d7e3 devel/libaura/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libaura/Makefile Wed Feb 09 05:40:28 2005 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/09 05:40:28 xtraeme Exp $
+#
+
+DISTNAME= libaura-2.0
+CATEGORIES= devel
+MASTER_SITES= http://www.bsdinstaller.org/distfiles/
+
+MAINTAINER= xtraeme%NetBSD.org@localhost
+HOMEPAGE= http://www.bsdinstaller.org/
+COMMENT= LIBrary of Assorted Useful Reusable Abstraction
+
+WRKSRC= ${WRKDIR}/libaura
+USE_BUILDLINK3= yes
+
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= post-patch
+SUBST_FILES.prefix= Makefile
+SUBST_SED.prefix= -e "s,/usr/local,${PREFIX},g"
+SUBST_MESSAGE.prefix= "Fixing hardcoded paths."
+
+.include "../../mk/bsd.pkg.mk"
diff -r 0a397f5b378c -r cb1f96e3d7e3 devel/libaura/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libaura/PLIST Wed Feb 09 05:40:28 2005 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/09 05:40:28 xtraeme Exp $
+include/aura/buffer.h
+include/aura/dict.h
+include/aura/fspred.h
+include/aura/mem.h
+include/aura/popen.h
+lib/libaura.a
+lib/libaura.so
+lib/libaura.so.2
+lib/libaura.so.${PKGVERSION}
+lib/libaura_pic.a
+@dirrm include/aura
diff -r 0a397f5b378c -r cb1f96e3d7e3 devel/libaura/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libaura/buildlink3.mk Wed Feb 09 05:40:28 2005 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/02/09 05:40:28 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBAURA_BUILDLINK3_MK:= ${LIBAURA_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libaura
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibaura}
+BUILDLINK_PACKAGES+= libaura
+
+.if !empty(LIBAURA_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libaura+= libaura>=2.0
+BUILDLINK_PKGSRCDIR.libaura?= ../../devel/libaura
+.endif # LIBAURA_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 0a397f5b378c -r cb1f96e3d7e3 devel/libaura/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libaura/distinfo Wed Feb 09 05:40:28 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/09 05:40:28 xtraeme Exp $
+
+SHA1 (libaura-2.0.tar.gz) = 4f91d8efaca9ffb2b9ae244187bd49f7c1969d6a
+Size (libaura-2.0.tar.gz) = 10682 bytes
+SHA1 (patch-aa) = a3b7e2540c289f6eb4222464efd86c918e8cfa9d
diff -r 0a397f5b378c -r cb1f96e3d7e3 devel/libaura/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libaura/patches/patch-aa Wed Feb 09 05:40:28 2005 +0000
@@ -0,0 +1,44 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/02/09 05:40:28 xtraeme Exp $
+
+--- fspred.c.orig 2005-02-09 04:36:15.000000000 +0100
++++ fspred.c 2005-02-09 04:41:15.000000000 +0100
+@@ -49,6 +49,12 @@
+ #include <stdlib.h>
+ #include <string.h>
+
++#if (__NetBSD_Version__ >= 200040000)
++#define STATFS statvfs
++#else
++#define STATFS statfs
++#endif
++
+ /** PREDICATES **/
+
+ int
+@@ -160,7 +166,7 @@
+ int
+ is_mountpoint_mounted(char *mtpt)
+ {
+- struct statfs *mt_array, *mt_ptr;
++ struct STATFS *mt_array, *mt_ptr;
+ int count;
+
+ count = getmntinfo(&mt_array, MNT_WAIT);
+@@ -174,7 +180,7 @@
+ int
+ is_device_mounted(char *device)
+ {
+- struct statfs *mt_array, *mt_ptr;
++ struct STATFS *mt_array, *mt_ptr;
+ int count;
+
+ count = getmntinfo(&mt_array, MNT_WAIT);
+@@ -188,7 +194,7 @@
+ int
+ is_any_slice_mounted(char *diskdev)
+ {
+- struct statfs *mt_array, *mt_ptr;
++ struct STATFS *mt_array, *mt_ptr;
+ int count;
+
+ count = getmntinfo(&mt_array, MNT_WAIT);
Home |
Main Index |
Thread Index |
Old Index