diff options
author | Cem Keylan <cem@ckyln.com> | 2020-09-01 19:06:11 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-09-01 19:06:11 +0300 |
commit | 004087f356ca47d6081109019ed8e315eff5fa2c (patch) | |
tree | ffaec7322a55ca9ab16741276be0e4aeb807c883 /extra/musl-fts | |
parent | 85e0379cb2b6e264ca7cadd05c36529c9939dd03 (diff) | |
download | repository-004087f356ca47d6081109019ed8e315eff5fa2c.tar.gz |
musl-fts: add new package at 1.2.7
Diffstat (limited to 'extra/musl-fts')
-rwxr-xr-x | extra/musl-fts/build | 22 | ||||
-rw-r--r-- | extra/musl-fts/checksums | 3 | ||||
-rw-r--r-- | extra/musl-fts/files/config.h | 93 | ||||
-rw-r--r-- | extra/musl-fts/files/musl-fts.pc | 10 | ||||
-rw-r--r-- | extra/musl-fts/sources | 3 | ||||
-rw-r--r-- | extra/musl-fts/version | 1 |
6 files changed, 132 insertions, 0 deletions
diff --git a/extra/musl-fts/build b/extra/musl-fts/build new file mode 100755 index 00000000..51f62f67 --- /dev/null +++ b/extra/musl-fts/build @@ -0,0 +1,22 @@ +#!/bin/sh -e +# We don't want autotools just to build this tiny little library. +# We'll do it ourselves. +# +# All word splitting is intentional. +# shellcheck disable=2086 + +export CFLAGS="$CFLAGS -DHAVE_CONFIG_H -I." +mkdir -p "$1/usr/lib" + +set -x + +"${CC:=cc}" $CFLAGS -c -o fts.o fts.c +"$CC" -shared -fPIC -DPIC fts.o $CFLAGS -Wl,-soname -Wl,libfts.so.0 -o "$1/usr/lib/libfts.so.0.0.0" +ar cru "$1/usr/lib/libfts.a" fts.o +ranlib "$1/usr/lib/libfts.a" + +ln -s libfts.so.0.0.0 "$1/usr/lib/libfts.so.0" +ln -s libfts.so.0 "$1/usr/lib/libfts.so" + +install -Dm644 fts.h "$1/usr/include/fts.h" +install -Dm644 musl-fts.pc "$1/usr/lib/pkgconfig/musl-fts.pc" diff --git a/extra/musl-fts/checksums b/extra/musl-fts/checksums new file mode 100644 index 00000000..6381ccc7 --- /dev/null +++ b/extra/musl-fts/checksums @@ -0,0 +1,3 @@ +49ae567a96dbab22823d045ffebe0d6b14b9b799925e9ca9274d47d26ff482a6 v1.2.7.tar.gz +e3999a67150ed8ca636ea778ed665cf26770beee6710afacb978419298b836b9 config.h +e34958c1577d77b5dbde43d2d52990a8735474a9232b8530eb942d940405f279 musl-fts.pc diff --git a/extra/musl-fts/files/config.h b/extra/musl-fts/files/config.h new file mode 100644 index 00000000..db761b7d --- /dev/null +++ b/extra/musl-fts/files/config.h @@ -0,0 +1,93 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define to 1 if you have the <assert.h> header file. */ +#define HAVE_ASSERT_H 1 + +/* Define to 1 if you have the declaration of `MAX', and to 0 if you don't. */ +#define HAVE_DECL_MAX 1 + +/* Define to 1 if you have the declaration of `UINTMAX_MAX', and to 0 if you + don't. */ +#define HAVE_DECL_UINTMAX_MAX 0 + +/* Define to 1 if you have the <dirent.h> header file. */ +#define HAVE_DIRENT_H 1 + +/* Define to 1 if you have the `dirfd' function. */ +#define HAVE_DIRFD 1 + +/* Define to 1 if `dd_fd' is a member of `DIR'. */ +/* #undef HAVE_DIR_DD_FD */ + +/* Define to 1 if `d_fd' is a member of `DIR'. */ +/* #undef HAVE_DIR_D_FD */ + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the <errno.h> header file. */ +#define HAVE_ERRNO_H 1 + +/* Define to 1 if you have the <fcntl.h> header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the <sys/param.h> header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to the sub-directory where libtool stores uninstalled libraries. */ +#define LT_OBJDIR ".libs/" + +/* Name of package */ +#define PACKAGE "fts" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "pullmoll@t-online.de" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "fts" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "fts 1.2.7" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "fts" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "1.2.7" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Version number of package */ +#define VERSION "1.2.7" diff --git a/extra/musl-fts/files/musl-fts.pc b/extra/musl-fts/files/musl-fts.pc new file mode 100644 index 00000000..8d10356c --- /dev/null +++ b/extra/musl-fts/files/musl-fts.pc @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: musl-fts +Description: Implementation of fts(3) functions for musl libc +Version: 1.2.7 +Libs: -L${libdir} -lfts +Cflags: -I${includedir} diff --git a/extra/musl-fts/sources b/extra/musl-fts/sources new file mode 100644 index 00000000..f0cbf9d2 --- /dev/null +++ b/extra/musl-fts/sources @@ -0,0 +1,3 @@ +https://github.com/void-linux/musl-fts/archive/v1.2.7.tar.gz +files/config.h +files/musl-fts.pc diff --git a/extra/musl-fts/version b/extra/musl-fts/version new file mode 100644 index 00000000..fa32c1fb --- /dev/null +++ b/extra/musl-fts/version @@ -0,0 +1 @@ +1.2.7 1 |