New package: libdiff-0.1.0
This commit is contained in:
parent
fde0d56129
commit
5ec7cda08d
3 changed files with 78 additions and 0 deletions
26
srcpkgs/libdiff/files/configure.glibc
Normal file
26
srcpkgs/libdiff/files/configure.glibc
Normal file
|
@ -0,0 +1,26 @@
|
|||
HAVE_ARC4RANDOM=0
|
||||
HAVE_CAPSICUM=0
|
||||
HAVE_ERR=1
|
||||
HAVE_EXPLICIT_BZERO=1
|
||||
HAVE_GETPROGNAME=0
|
||||
HAVE_INFTIM=0
|
||||
HAVE_MD5=0
|
||||
HAVE_MEMMEM=1
|
||||
HAVE_MEMRCHR=1
|
||||
HAVE_MEMSET_S=0
|
||||
HAVE_PATH_MAX=1
|
||||
HAVE_PLEDGE=0
|
||||
HAVE_PROGRAM_INVOCATION_SHORT_NAME=1
|
||||
HAVE_REALLOCARRAY=0
|
||||
HAVE_RECALLOCARRAY=0
|
||||
HAVE_SANDBOX_INIT=0
|
||||
HAVE_SECCOMP_FILTER=1
|
||||
HAVE_SOCK_NONBLOCK=1
|
||||
HAVE_STRLCAT=0
|
||||
HAVE_STRLCPY=0
|
||||
HAVE_STRNDUP=1
|
||||
HAVE_STRNLEN=1
|
||||
HAVE_STRTONUM=0
|
||||
HAVE_SYSTRACE=0
|
||||
HAVE_ZLIB=0
|
||||
HAVE___PROGNAME=1
|
26
srcpkgs/libdiff/files/configure.musl
Normal file
26
srcpkgs/libdiff/files/configure.musl
Normal file
|
@ -0,0 +1,26 @@
|
|||
HAVE_ARC4RANDOM=0
|
||||
HAVE_CAPSICUM=0
|
||||
HAVE_ERR=1
|
||||
HAVE_EXPLICIT_BZERO=0
|
||||
HAVE_GETPROGNAME=0
|
||||
HAVE_INFTIM=0
|
||||
HAVE_MD5=0
|
||||
HAVE_MEMMEM=1
|
||||
HAVE_MEMRCHR=1
|
||||
HAVE_MEMSET_S=0
|
||||
HAVE_PATH_MAX=1
|
||||
HAVE_PLEDGE=0
|
||||
HAVE_PROGRAM_INVOCATION_SHORT_NAME=1
|
||||
HAVE_REALLOCARRAY=0
|
||||
HAVE_RECALLOCARRAY=0
|
||||
HAVE_SANDBOX_INIT=0
|
||||
HAVE_SECCOMP_FILTER=1
|
||||
HAVE_SOCK_NONBLOCK=1
|
||||
HAVE_STRLCAT=1
|
||||
HAVE_STRLCPY=1
|
||||
HAVE_STRNDUP=1
|
||||
HAVE_STRNLEN=1
|
||||
HAVE_STRTONUM=0
|
||||
HAVE_SYSTRACE=0
|
||||
HAVE_ZLIB=0
|
||||
HAVE___PROGNAME=1
|
26
srcpkgs/libdiff/template
Normal file
26
srcpkgs/libdiff/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'libdiff'
|
||||
pkgname=libdiff
|
||||
version=0.1.0
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
short_desc="Library to generate arbitrary sequence diffs"
|
||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/kristapsdz/libdiff"
|
||||
distfiles="https://kristaps.bsd.lv/libdiff/snapshots/libdiff-${version}.tar.gz"
|
||||
checksum=2012d2eae9ecaf9717c77ecefd9bdff4e38f485d8b9ad8f916cff1fdf1151512
|
||||
|
||||
do_configure() {
|
||||
local _libc=glibc
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) _libc=musl ;;
|
||||
esac
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
cp "${FILESDIR}/configure.$_libc" configure.local
|
||||
fi
|
||||
./configure PREFIX=/usr MANDIR=/usr/share/man
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.md
|
||||
}
|
Loading…
Reference in a new issue