Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
libcfu-0.03 (rebuild on x86_64)
- Loading branch information
Showing
8 changed files
with
117 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
HOMEPAGE="http://${PN}.sf.net/" | ||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" | ||
|
||
CATEGORY="Libs" | ||
SUMMARY="Simple library of tools for developing multithreaded software" | ||
DESCRIPTION="Libcfu is a library of tools that I have found useful, particularly when | ||
developing multithreaded software. It currently includes a hash table, a | ||
linked list, self-extending strings, a configuration file parser, a simple | ||
timer, and a thread queue." | ||
|
||
DIFF_EXCLUDES=" | ||
*.info | ||
stamp-vti | ||
version.texi | ||
" | ||
|
||
PKG_NAMES=" | ||
${PN} | ||
${PN}0 | ||
${PN}-devel | ||
" | ||
libcfu_CONTENTS=" | ||
usr/share/doc | ||
" | ||
libcfu0_CONTENTS=" | ||
usr/bin/*.dll | ||
" | ||
libcfu_devel_CONTENTS=" | ||
usr/bin/*.exe | ||
usr/include | ||
usr/lib | ||
usr/share/info | ||
" | ||
|
||
libcfu_SUMMARY="${SUMMARY} (licensing & readmes)" | ||
libcfu0_SUMMARY="${SUMMARY} (runtime)" | ||
libcfu_devel_SUMMARY="${SUMMARY} (development)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- origsrc/libcfu-0.03/Makefile.am 2005-08-08 07:17:15.000000000 +0900 | ||
+++ src/libcfu-0.03/Makefile.am 2014-11-02 18:34:34.055175000 +0900 | ||
@@ -2,7 +2,7 @@ SUBDIRS = src examples doc | ||
if DEBUG | ||
AM_CFLAGS = -Wall -W -Werror -DCFU_VERSION="\"@VERSION@\"" -DCFU_DEBUG=1 | ||
else | ||
-AM_CFLAGS = -Wall -W -Werror -DCFU_VERSION="\"@VERSION@\"" | ||
+AM_CFLAGS = -Wall -W -DCFU_VERSION="\"@VERSION@\"" | ||
endif | ||
|
||
LIBCFU_TYPE_u_int=@LIBCFU_TYPE_u_int@ | ||
--- origsrc/libcfu-0.03/configure.ac 2005-08-15 09:16:15.000000000 +0900 | ||
+++ src/libcfu-0.03/configure.ac 2014-11-02 18:24:12.300292200 +0900 | ||
@@ -8,7 +8,7 @@ LIBCFU_CHECK_TYPE(u_int, unsigned int) | ||
AC_SUBST(LIBCFU_TYPE_u_int) | ||
|
||
AC_PROG_CC | ||
-AC_PROG_RANLIB | ||
+LT_INIT | ||
|
||
dnl Check for pthread support | ||
SAVECFLAGS="$CFLAGS" | ||
--- origsrc/libcfu-0.03/examples/Makefile.am 2005-09-05 10:11:49.000000000 +0900 | ||
+++ src/libcfu-0.03/examples/Makefile.am 2014-11-02 18:34:41.212401600 +0900 | ||
@@ -1,10 +1,10 @@ | ||
noinst_PROGRAMS = hash_usage large_hash strings conf_example conf_example2 opt_example | ||
-LDADD = -L$(top_srcdir)/src -lcfu | ||
+LDADD = $(top_builddir)/src/libcfu.la | ||
|
||
if DEBUG | ||
AM_CFLAGS = -Wall -W -Werror -I$(top_srcdir)/include -DCFU_DEBUG=1 | ||
else | ||
-AM_CFLAGS = -Wall -W -Werror -I$(top_srcdir)/include | ||
+AM_CFLAGS = -Wall -W -I$(top_srcdir)/include | ||
endif | ||
|
||
AM_LDFLAGS = -Xlinker -rpath -Xlinker $(top_src_dir)/src | ||
--- origsrc/libcfu-0.03/src/Makefile.am 2005-09-05 10:12:09.000000000 +0900 | ||
+++ src/libcfu-0.03/src/Makefile.am 2014-11-02 18:24:12.300292200 +0900 | ||
@@ -1,6 +1,9 @@ | ||
-lib_LIBRARIES = libcfu.a | ||
-libcfu_a_SOURCES = cfuhash.c cfutime.c cfustring.c cfulist.c cfuconf.c cfuthread_queue.c cfu.c cfuopt.c | ||
+lib_LTLIBRARIES = libcfu.la | ||
+libcfu_la_SOURCES = cfuhash.c cfutime.c cfustring.c cfulist.c cfuconf.c cfuthread_queue.c cfu.c cfuopt.c | ||
+libcfu_la_LDFLAGS = -no-undefined | ||
bin_PROGRAMS = libcfu-config | ||
+libcfu_config_SOURCES = libcfu-config.c | ||
+libcfu_config_LDADD = libcfu.la | ||
|
||
CFU_CONFIG_DEFINES = -DCFU_LIBDIR="\"@libdir@\"" -DCFU_LIBS="\"@LIBS@\"" -DCFU_INCLUDEDIR="\"@includedir@\"" -DCFU_PREFIX="\"@prefix@\"" -DCFU_EXEC_PREFIX="\"@exec_prefix@\"" | ||
|
||
@@ -19,10 +22,3 @@ include_HEADERS = $(top_srcdir)/include/ | ||
# libcfu_a_LDFLAGS = -lpthread | ||
INCLUDES = -I$(top_srcdir)/include | ||
|
||
-default: libcfu.a libcfu-config | ||
- | ||
-libcfu-config.o: libcfu-config.c | ||
- | ||
-libcfu-config: libcfu.a libcfu-config.o | ||
- $(CC) $(CFLAGS) -o libcfu-config libcfu-config.o libcfu.a -pthread | ||
- |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.