2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-12-14 16:15:18 +01:00
|
|
|
#
|
|
|
|
# cdrkit
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-03-02 22:32:52 +01:00
|
|
|
|
2011-12-14 16:15:18 +01:00
|
|
|
CDRKIT_VERSION = 1.1.11
|
2014-10-19 15:30:08 +02:00
|
|
|
CDRKIT_SOURCE = cdrkit_$(CDRKIT_VERSION).orig.tar.gz
|
2014-10-23 16:48:28 +02:00
|
|
|
CDRKIT_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/c/cdrkit
|
2011-12-14 16:15:18 +01:00
|
|
|
CDRKIT_DEPENDENCIES = libcap bzip2 zlib
|
2016-07-03 00:20:33 +02:00
|
|
|
HOST_CDRKIT_DEPENDENCIES = host-libcap host-bzip2 host-zlib
|
2017-03-30 15:43:32 +02:00
|
|
|
CDRKIT_LICENSE = GPL-2.0
|
2013-01-20 10:22:31 +01:00
|
|
|
CDRKIT_LICENSE_FILES = COPYING
|
2010-03-02 22:32:52 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_ENDIAN),"BIG")
|
2014-09-27 21:32:44 +02:00
|
|
|
CDRKIT_CONF_OPTS += -DBITFIELDS_HTOL=1
|
2010-03-02 22:32:52 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
CDRKIT_CONF_OPTS += -DBITFIELDS_HTOL=0
|
2010-03-02 22:32:52 +01:00
|
|
|
endif
|
|
|
|
|
2020-11-20 19:04:09 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_FILE),y)
|
|
|
|
CDRKIT_DEPENDENCIES += host-pkgconf file
|
|
|
|
CDRKIT_CONF_OPTS += \
|
|
|
|
-DUSE_MAGIC=ON \
|
|
|
|
-DEXTRA_LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libmagic`"
|
|
|
|
else
|
|
|
|
CDRKIT_CONF_OPTS += -DUSE_MAGIC=OFF
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(cmake-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-cmake-package))
|