@ -8,20 +8,22 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := check
PKG_VERSION := 0.12 .0
PKG_RELEASE := 2
PKG_VERSION := 0.13 .0
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://github.com/libcheck/check/releases/download/$( PKG_VERSION)
PKG_HASH := 464201098bee00e90f5c4bdfa94a5d3ead8d641f9025b560a27755a83b824234
PKG_HASH := c4336b31447acc7e3266854f73ec188cdb15554d0edd44739631da174a569909
PKG_MAINTAINER := Eduardo Abinader <eduardoabinader@gmail.com>
PKG_LICENSE := LGPL-2.1-or-later
PKG_LICENSE_FILES := COPYING.LESSER
PKG_MAINTAINER := Eduardo Abinader <eduardoabinader@gmail.com>
PKG_INSTALL := 1
CMAKE_INSTALL := 1
PKG_BUILD_PARALLEL := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / c m a k e . m k
d e f i n e P a c k a g e / c h e c k
SECTION:= libs
@ -39,19 +41,9 @@ define Package/check/description
code editors and IDEs.
e n d e f
TARGET_CFLAGS += $( FPIC)
CONFIGURE_VARS += \
hw_cv_func_snprintf_c99 = yes \
hw_cv_func_vsnprintf_c99 = yes \
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/include
$( CP) $( PKG_INSTALL_DIR) /usr/include/check*.h $( 1) /usr/include/
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libcheck.{ a,so*} $( 1) /usr/lib/
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/check.pc $( 1) /usr/lib/pkgconfig/
e n d e f
CMAKE_OPTIONS += \
-DBUILD_TESTING= OFF \
-DCMAKE_POSITION_INDEPENDENT_CODE= ON
d e f i n e P a c k a g e / c h e c k / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib