Use ${version} macro instead of hardcoded number

This commit is contained in:
Alexandre Ratchov 2021-05-25 06:38:12 +02:00
parent fde5ad8a68
commit 23e9ebebc4
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -33,7 +33,7 @@ END
#
# defaults
#
version=1.7.0 # package version (used by pkg-config)
version=1.8.0 # package version (used by pkg-config)
prefix=/usr/local # where to install sndio
so="libsndio.so.\${MAJ}.\${MIN}" # shared libs to build
alsa=no # do we want alsa support ?
@ -306,7 +306,7 @@ includedir=`echo $includedir | sed -e "s:^${prefix}:\\${prefix}:"`
Name: sndio
Description: sndio library
Version: 1.8.0
Version: ${version}
Requires:
Libs: -L\${libdir} -lsndio
Cflags: -I\${includedir}