wip/libbacon: import libbacon-1.2.2.1

Libbacon is a collection of miscellaneous C functions that I felt were
generally useful enough that they should be made available in a library.
My hope is that many of them will someday be added to the existing C
libraries, such as libc, libm, etc.  ( A few, such as strlcpy(), and
strlcat() already have on some systems. )
This commit is contained in:
Jason Bacon 2020-05-19 16:07:46 -05:00
parent 194991fb9e
commit 52409647be
5 changed files with 45 additions and 0 deletions

5
libbacon/DESCR Normal file
View File

@ -0,0 +1,5 @@
Libbacon is a collection of miscellaneous C functions that I felt were
generally useful enough that they should be made available in a library.
My hope is that many of them will someday be added to the existing C
libraries, such as libc, libm, etc. ( A few, such as strlcpy(), and
strlcat() already have on some systems. )

18
libbacon/Makefile Normal file
View File

@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.3 2013/12/16 14:06:40 outpaddling Exp $
#
DISTNAME= libbacon-1.2.2.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=outpaddling/}
GITHUB_TAG= 2e181aa1d6f39d0b767453b7e5e6bc7b0f301dc3
MAINTAINER= bacon@NetBSD.org
HOMEPAGE= https://github.com/outpaddling/libbacon
COMMENT= Miscellaneous experimental functions
LICENSE= 2-clause-bsd
PKG_DESTDIR_SUPPORT= user-destdir
INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
.include "../../mk/bsd.pkg.mk"

3
libbacon/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $NetBSD$
include/bacon.h
lib/libbacon.a

13
libbacon/buildlink3.mk Normal file
View File

@ -0,0 +1,13 @@
# $NetBSD: buildlink3.mk,v 1.2 2013/08/14 01:33:35 outpaddling Exp $
BUILDLINK_TREE+= libbacon
.if !defined(LIBBACON_BUILDLINK3_MK)
LIBBACON_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libbacon+= libbacon>=1.2.2
BUILDLINK_PKGSRCDIR.libbacon?= ../../wip/libbacon
BUILDLINK_DEPMETHOD.libbacon?= build
.endif # LIBBACON_BUILDLINK3_MK
BUILDLINK_TREE+= -libbacon

6
libbacon/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (libbacon-1.2.2.1-2e181aa1d6f39d0b767453b7e5e6bc7b0f301dc3.tar.gz) = 9f78c1363990664de3294da858db016b5c4a339a
RMD160 (libbacon-1.2.2.1-2e181aa1d6f39d0b767453b7e5e6bc7b0f301dc3.tar.gz) = c086f8a8ce7dba4dddabbc8813b49722b82b0856
SHA512 (libbacon-1.2.2.1-2e181aa1d6f39d0b767453b7e5e6bc7b0f301dc3.tar.gz) = ed182db4d2557664045b018785ed44617ea65701cdbacea1f91a75e7f7636398466ce2f85b24058262e9746647ecc6ea2a4cd8b8f90ca6ad0623638df031103f
Size (libbacon-1.2.2.1-2e181aa1d6f39d0b767453b7e5e6bc7b0f301dc3.tar.gz) = 51612 bytes