mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
added pkg-config file alsa.pc.
This commit is contained in:
parent
9f2723badf
commit
ec415ef3a9
2 changed files with 15 additions and 1 deletions
|
|
@ -2,7 +2,10 @@ if INSTALL_M4
|
||||||
aclocaldir=$(datadir)/aclocal
|
aclocaldir=$(datadir)/aclocal
|
||||||
aclocal_DATA=alsa.m4
|
aclocal_DATA=alsa.m4
|
||||||
endif
|
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
|
rpm: buildrpm alsa-lib.spec
|
||||||
VERSION=$(VERSION) $(srcdir)/buildrpm
|
VERSION=$(VERSION) $(srcdir)/buildrpm
|
||||||
|
|
|
||||||
11
utils/alsa.pc.in
Normal file
11
utils/alsa.pc.in
Normal file
|
|
@ -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}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue