diff options
author | shannonjr <shannonjr@pkgsrc.org> | 2004-06-02 11:28:38 +0000 |
---|---|---|
committer | shannonjr <shannonjr@pkgsrc.org> | 2004-06-02 11:28:38 +0000 |
commit | bb97293f9a3a197711393a6eb68e676a2ebc5bac (patch) | |
tree | b60c85d75c1941341c397b646abe49573b19c47b /devel/libiberty | |
parent | 9ec64b4e8d632c12dc71ec556a0cc0903ee23ca7 (diff) | |
download | pkgsrc-bb97293f9a3a197711393a6eb68e676a2ebc5bac.tar.gz |
libiberty-1.0 This package provides the GNU liberty library of "missing"
functions. The functions in liberty are normally included, as needed, by
GNU packages to make up for functions not found in the operating
system. This copy of liberty has been extracted from the gcc-3.4.0
release distribution.
Diffstat (limited to 'devel/libiberty')
-rw-r--r-- | devel/libiberty/DESCR | 16 | ||||
-rw-r--r-- | devel/libiberty/Makefile | 19 | ||||
-rw-r--r-- | devel/libiberty/PLIST | 3 | ||||
-rw-r--r-- | devel/libiberty/buildlink3.mk | 18 | ||||
-rw-r--r-- | devel/libiberty/distinfo | 4 |
5 files changed, 60 insertions, 0 deletions
diff --git a/devel/libiberty/DESCR b/devel/libiberty/DESCR new file mode 100644 index 00000000000..559b474b2f7 --- /dev/null +++ b/devel/libiberty/DESCR @@ -0,0 +1,16 @@ +This package provides the -liberty library of "missing" functions. +It is a collection of subroutines used by various GNU programs. +Current members include: + + getopt -- get options from command line + obstack -- stacks of arbitrarily-sized objects + strerror -- error message strings corresponding to errno + strtol -- string-to-long conversion + strtoul -- string-to-unsigned-long conversion + +The functions in liberty are normally included, as needed, by +GNU packages to make up for functions not found in the operating +system. + +This copy of liberty has been extracted from the gcc-3.4.0 +release distribution. diff --git a/devel/libiberty/Makefile b/devel/libiberty/Makefile new file mode 100644 index 00000000000..9e31c7b949b --- /dev/null +++ b/devel/libiberty/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/06/02 11:28:38 shannonjr Exp $ +# + +DISTNAME= libiberty-1.0 +CATEGORIES= devel +MASTER_SITES= http://www.johnrshannon.com/NetBSD/ + +MAINTAINER= john@johnrshannon.com +COMMENT= This package provides the GNU liberty library of "missing" functions + +USE_BUILDLINK3= yes +USE_GNU_TOOLS+= make +GNU_CONFIGURE= yes + +do-install: + ${INSTALL_LIB} ${WRKSRC}/libiberty/libiberty.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/include/libiberty.h ${PREFIX}/include + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/libiberty/PLIST b/devel/libiberty/PLIST new file mode 100644 index 00000000000..189e8f44b3d --- /dev/null +++ b/devel/libiberty/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/02 11:28:38 shannonjr Exp $ +include/libiberty.h +lib/libiberty.a diff --git a/devel/libiberty/buildlink3.mk b/devel/libiberty/buildlink3.mk new file mode 100644 index 00000000000..4b73ffa4591 --- /dev/null +++ b/devel/libiberty/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/06/02 11:28:38 shannonjr Exp $ +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBIBERTY_BUILDLINK3_MK:= ${LIBIBERTY_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libiberty +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibiberty} +BUILDLINK_PACKAGES+= libiberty + +.if !empty(LIBIBERTY_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libiberty+= libiberty>=1.0 +BUILDLINK_PKGSRCDIR.libiberty?= ../../devel/libiberty +.endif # LIBIBERTY_BUILDLINK3_MK +BUILDLINK_DEPMETHOD.libiberty?= build + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/libiberty/distinfo b/devel/libiberty/distinfo new file mode 100644 index 00000000000..1591a578cfd --- /dev/null +++ b/devel/libiberty/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/06/02 11:28:38 shannonjr Exp $ + +SHA1 (libiberty-1.0.tar.gz) = e0ad9a4ae0e1d2be67a14d03e7e8840ab01dc2d5 +Size (libiberty-1.0.tar.gz) = 1210416 bytes |