J.A. Roberts Tunney avatar J.A. Roberts Tunney committed 39930ea

added pkgconfig stuff

Comments (0)

Files changed (3)

 soundtouch4c_demo_SOURCES    = src/example.c
 soundtouch4c_demo_LDADD      = libsoundtouch4c.la
 
+pkgconfigdir                 = $(libdir)/pkgconfig
+pkgconfig_DATA               = soundtouch4c-1.0.pc
+
 m4srcdir                     = $(top_srcdir)/m4
 m4datadir                    = $(datadir)/aclocal
 m4data_DATA                  = $(m4srcdir)/soundtouch4c.m4
 # -*- autoconf -*-
 
 AC_PREREQ(2.59)
-AC_INIT(soundtouch4c, 0.5b, [jtunney@lobstertech.com])
+AC_INIT(libsoundtouch4c, 0.5b, [jtunney@lobstertech.com])
 AC_CONFIG_AUX_DIR(config)
 AC_CONFIG_MACRO_DIR(m4)
-AM_INIT_AUTOMAKE(soundtouch4c,0.5b)
+AM_INIT_AUTOMAKE(libsoundtouch4c,0.5b)
 AM_CONFIG_HEADER([config.h])
 AC_CONFIG_SRCDIR([src/soundtouch4c.cpp])
 AC_LANG(C++)
 
 AC_CONFIG_FILES([Makefile])
 
-AC_OUTPUT
+AC_OUTPUT(
+        soundtouch4c-1.0.pc
+)

soundtouch4c-1.0.pc

+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: soundtouch4c
+Description: Use SoundTouch DSP routines without C++
+Version: 0.5b
+Libs: -L${libdir} -lsoundtouch4c
+Cflags: 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.