47 lines
1.2 KiB
Diff
47 lines
1.2 KiB
Diff
|
Index: CUnit-2.1-0/configure.in
|
||
|
===================================================================
|
||
|
--- CUnit-2.1-0.orig/configure.in
|
||
|
+++ CUnit-2.1-0/configure.in
|
||
|
@@ -239,6 +239,7 @@ AC_CONFIG_FILES([Jamrules:Jamrules.in])
|
||
|
|
||
|
dnl Configure Makefile set.
|
||
|
AC_CONFIG_FILES( Makefile \
|
||
|
+ cunit.pc \
|
||
|
CUnit.spec \
|
||
|
CUnit/Makefile \
|
||
|
CUnit/Headers/Makefile \
|
||
|
Index: CUnit-2.1-0/cunit.pc.in
|
||
|
===================================================================
|
||
|
--- /dev/null
|
||
|
+++ CUnit-2.1-0/cunit.pc.in
|
||
|
@@ -0,0 +1,9 @@
|
||
|
+prefix=@prefix@
|
||
|
+exec_prefix=@exec_prefix@
|
||
|
+libdir=@libdir@
|
||
|
+includedir=@includedir@
|
||
|
+
|
||
|
+Name: CUnit
|
||
|
+Description: CUnit is a unit testing framework for C
|
||
|
+Version: @VERSION@
|
||
|
+Libs: -L${libdir} -lcunit -lncurses
|
||
|
Index: CUnit-2.1-0/Makefile.am
|
||
|
===================================================================
|
||
|
--- CUnit-2.1-0.orig/Makefile.am
|
||
|
+++ CUnit-2.1-0/Makefile.am
|
||
|
@@ -10,6 +10,15 @@ COMPILE_DIRS += $(EXAMPLE_COMPILE_DIR)
|
||
|
|
||
|
SUBDIRS = ${COMPILE_DIRS}
|
||
|
|
||
|
+EXTRA_DIST = \
|
||
|
+ cunit.pc.in \
|
||
|
+ $(NULL)
|
||
|
+
|
||
|
+pkgconfigdir = $(libdir)/pkgconfig
|
||
|
+pkgconfig_DATA = \
|
||
|
+ cunit.pc \
|
||
|
+ $(NULL)
|
||
|
+
|
||
|
distdir=${PACKAGE}-${VERSION}-${RELEASE}
|
||
|
|
||
|
WD=`pwd`
|