From ec415ef3a95f2ad4b5acf62cbe0afd8b5658feb4 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 18 Sep 2002 16:38:18 +0000 Subject: [PATCH] added pkg-config file alsa.pc. --- utils/Makefile.am | 5 ++++- utils/alsa.pc.in | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 utils/alsa.pc.in diff --git a/utils/Makefile.am b/utils/Makefile.am index 9117b095..ee60f6c4 100644 --- a/utils/Makefile.am +++ b/utils/Makefile.am @@ -2,7 +2,10 @@ if INSTALL_M4 aclocaldir=$(datadir)/aclocal aclocal_DATA=alsa.m4 endif -EXTRA_DIST=alsa.m4 buildrpm +EXTRA_DIST=alsa.m4 buildrpm alsa.pc.in + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = alsa.pc rpm: buildrpm alsa-lib.spec VERSION=$(VERSION) $(srcdir)/buildrpm diff --git a/utils/alsa.pc.in b/utils/alsa.pc.in new file mode 100644 index 00000000..66388960 --- /dev/null +++ b/utils/alsa.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@/alsa + +Name: alsa +Description: Advanced Linux Sound Architecture (ALSA) - Library +Version: @VERSION@ +Requires: +Libs: -L${libdir} -lasound -lm -ldl -lpthread +Cflags: -I${includedir} -- 2.47.1