Skip to content

Commit

Permalink
api/openssl: add pkg-config files
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuke committed Jan 16, 2024
1 parent 7c3ee86 commit b568e3d
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion repos/libports/recipes/api/openssl/content.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,26 @@ src/lib/openssl:
cp -r $(REP_DIR)/src/lib/openssl/crypto $@/
cp -r $(REP_DIR)/src/lib/openssl/spec $@/

content: LICENSE
content: LICENSE libcrypto.pc libssl.pc openssl.pc

LICENSE:
cp $(PORT_DIR)/src/lib/openssl/LICENSE $@

libcrypto.pc:
echo 'Name: OpenSSL-libcrypto' > $@
echo 'Description: OpenSSL cryptography library' >> $@
echo 'Version: 1.1.1t' >> $@
echo 'Libs: -l:libcrypto.lib.so' >> $@

libssl.pc:
echo 'Name: OpenSSL-libssl' > $@
echo 'Description: Secure Sockets Layer and cryptography libraries' >> $@
echo 'Version: 1.1.1t' >> $@
echo 'Requires.private: libcrypto' >> $@
echo 'Libs: -l:libssl.lib.so' >> $@

openssl.pc:
echo 'Name: OpenSSL' > $@
echo 'Description: Secure Sockets Layer and cryptography libraries and tools' >> $@
echo 'Version: 1.1.1t' >> $@
echo 'Requires: libssl libcrypto' >> $@

0 comments on commit b568e3d

Please sign in to comment.