updating to hamlib 3.1 + adding lusb-1.0 to pkgconfig to compile the test file

adding Requires section
This commit is contained in:
Lars 2017-07-29 21:39:38 +02:00
parent 030efef3b6
commit fa3dbeda5b
1 changed files with 3 additions and 2 deletions

View File

@ -6,8 +6,8 @@ PKG := hamlib
$(PKG)_WEBSITE := http://www.hamlib.org/
$(PKG)_DESCR := HamLib
$(PKG)_IGNORE :=
$(PKG)_VERSION := 3.0.1
$(PKG)_CHECKSUM := 3fec97ea326d02aa8f35834c4af34194a3f544e6212f391397d788c566b44e32
$(PKG)_VERSION := 3.1
$(PKG)_CHECKSUM := 682304c3e88ff6ccfd6a5fc28b33bcc95d2d0a54321973fef015ff62570c994e
$(PKG)_SUBDIR := hamlib-$($(PKG)_VERSION)
$(PKG)_FILE := Hamlib-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/hamlib/hamlib/$($(PKG)_VERSION)/hamlib-$($(PKG)_VERSION).tar.gz
@ -40,6 +40,7 @@ define $(PKG)_BUILD
(echo 'Name: $(PKG)'; \
echo 'Version: $(hamlib_VERSION)'; \
echo 'Description: $(PKG)'; \
echo 'Requires: libusb-1.0'; \
echo 'Cflags: -DHAMLIB_LIB'; \
echo 'Libs: -lhamlib -lpthread -lws2_32';) \
> '$(PREFIX)/$(TARGET)/lib/pkgconfig/$(PKG).pc'