tools/skeleton.py: update pkg-config template

This commit is contained in:
Tony Theodore 2017-10-30 15:14:03 +11:00
parent ec1a3f3a6a
commit b815f6cc2d
1 changed files with 5 additions and 3 deletions

View File

@ -84,12 +84,14 @@ BUILDERS = {
}
PC_AND_TEST = r'''
# create pkg-config files
# create pkg-config file
$(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/pkgconfig'
(echo 'Name: $(PKG)'; \
echo 'Version: $($(PKG)_VERSION)'; \
echo 'Description: %(description)s'; \
echo 'Libs: -l%(libname)s';) \
echo 'Description: $($(PKG)_DESCR)'; \
echo 'Requires:'; \
echo 'Libs: -l%(libname)s'; \
echo 'Cflags.private:';) \
> '$(PREFIX)/$(TARGET)/lib/pkgconfig/$(PKG).pc'
# compile test