Skip to content

Commit

Permalink
libcachebusting-0.1+git20131118 (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed May 15, 2015
1 parent f6e0f7b commit ff38570
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 36 deletions.
38 changes: 21 additions & 17 deletions libcachebusting/README
Expand Up @@ -4,18 +4,19 @@ libcachebusting provides an abstract implementation for Cachebusting in C,
designed as a *nix style library.

Runtime requirements:
cygwin-1.7.27-2
libcachebusting0-0.1+git20131117-1bl1
cygwin-2.0.2-1
libcachebusting-devel-0.1+git20131118-1bl1
libcachebusting0-0.1+git20131118-1bl1

Build requirements:
(besides corresponding -devel packages)
autoconf-13-1
automake-9-1
binutils-2.23.51-1
cygport-0.14.1-1
gcc-core-4.8.2-2
libtool-2.4-1
make-4.0-2
binutils-2.25-1
cygport-0.18.1-1
gcc-core-4.9.2-3
libtool-2.4.6-1
make-4.1-1

Canonical website:
https://github.com/cachebusting/libcachebusting
Expand All @@ -26,17 +27,17 @@ Canonical download:
-------------------------------------------

Build instructions:
unpack libcachebusting-0.1+git20131117-X-src.tar.xz
if you use setup to install this src package, it will be
unpacked under /usr/src automatically
cd /usr/src
cygport ./libcachebusting-0.1+git20131117-X.cygport all
1. unpack libcachebusting-0.1+git20131118-X-src.tar.xz
2. if you use setup to install this src package,
it will be unpacked under /usr/src automatically
% cd /usr/src
% cygport ./libcachebusting-0.1+git20131118-X.cygport all

This will create:
/usr/src/libcachebusting-0.1+git20131117-X-src.tar.xz
/usr/src/libcachebusting-0.1+git20131117-X.tar.xz
/usr/src/libcachebusting0-0.1+git20131117-X.tar.xz
/usr/src/libcachebusting-devel-0.1+git20131117-X.tar.xz
/usr/src/libcachebusting-0.1+git20131118-X-src.tar.xz
/usr/src/libcachebusting-0.1+git20131118-X.tar.xz
/usr/src/libcachebusting0-0.1+git20131118-X.tar.xz
/usr/src/libcachebusting-devel-0.1+git20131118-X.tar.xz

-------------------------------------------

Expand All @@ -55,12 +56,15 @@ Files included in the binary package:
/usr/include/cachebusting/item.h
/usr/include/cachebusting/utils.h
/usr/lib/libcachebusting.dll.a
/usr/lib/libcachebusting.la
/usr/lib/pkgconfig/libcachebusting.pc

------------------

Port Notes:

----- version 0.1+git20131118-1bl1 -----
Version bump.

----- version 0.1+git20131117-1bl1 -----
Initial release by fd0 <https://github.com/fd00/>

19 changes: 0 additions & 19 deletions libcachebusting/libcachebusting-0.1+git20131117-1bl1.src.patch

This file was deleted.

44 changes: 44 additions & 0 deletions libcachebusting/libcachebusting-0.1+git20131118-1bl1.src.patch
@@ -0,0 +1,44 @@
--- origsrc/libcachebusting/Makefile.am 2015-05-15 17:52:22.000000000 +0900
+++ src/libcachebusting/Makefile.am 2015-05-15 17:58:35.520131100 +0900
@@ -1 +1,6 @@
+ACLOCAL_AMFLAGS = -I m4
+
SUBDIRS = src tests
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libcachebusting.pc
--- origsrc/libcachebusting/configure.ac 2015-05-15 17:52:22.000000000 +0900
+++ src/libcachebusting/configure.ac 2015-05-15 17:56:18.324412100 +0900
@@ -20,5 +20,5 @@ AC_SUBST(RUNTESTDEFAULTFLAGS)
AC_SUBST([AM_CFLAGS])
AC_SUBST([AM_LDFLAGS])

-AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile tests/libcachebusting.tests/Makefile tests/lib/Makefile tests/config/Makefile])
+AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile tests/libcachebusting.tests/Makefile tests/lib/Makefile tests/config/Makefile libcachebusting.pc])
AC_OUTPUT
--- origsrc/libcachebusting/libcachebusting.pc.in 1970-01-01 09:00:00.000000000 +0900
+++ src/libcachebusting/libcachebusting.pc.in 2015-05-15 17:56:52.525985400 +0900
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libcachebusting
+Description: Abstract implementation for Cachebusting in C
+Version: @VERSION@
+Libs: -L${libdir} -lcachebusting
+Cflags: -I${includedir}/cachebusting
--- origsrc/libcachebusting/src/Makefile.am 2015-05-15 17:52:22.000000000 +0900
+++ src/libcachebusting/src/Makefile.am 2015-05-15 17:52:24.625671900 +0900
@@ -1,9 +1,7 @@
-ACLOCAL_AMFLAGS = -I m4
-
lib_LTLIBRARIES = libcachebusting.la
libcachebusting_la_SOURCES = cachebusting.c hash.c item.c utils.c
pkginclude_HEADERS = cachebusting.h hash.h item.h utils.h
libcachebusting_ladir = $(includedir)/cachebusting
-libcachebusting_la_LDFLAGS = -module -avoid-version
+libcachebusting_la_LDFLAGS = -no-undefined

cachebusting_includedir = $(includedir)/cachebusting

0 comments on commit ff38570

Please sign in to comment.