fix preselection of instructions set
[openadk.git] / package / cdrkit / Makefile
blobcc0a8b4f8de6911a15f7fdfa62934a9f1be81a52
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= cdrkit
7 PKG_VERSION:= 1.1.11
8 PKG_RELEASE:= 1
9 PKG_HASH:= d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da
10 PKG_DESCR:= cd burning kit
11 PKG_SECTION:= sys/hw
12 PKG_DEPENDS:= libmagic zlib libbz2 libcap
13 PKG_BUILDDEP:= cmake-host file zlib bzip2 libcap
14 PKG_SITES:= http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/c/cdrkit/
16 DISTFILES:= $(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,CDRKIT,cdrkit,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
22 CONFIG_STYLE:= cmake
23 CMAKE_FLAGS+= -DUSE_LIBC_NLS=1 -DUSE_LIBXNET=0 -DUSE_LIBNLS=0
25 ifeq ($(ADK_TARGET_ENDIAN),little)
26 CMAKE_FLAGS+= -DBITFIELDS_HTOL=0
27 else
28 CMAKE_FLAGS+= -DBITFIELDS_HTOL=1
29 endif
31 cdrkit-install:
32 $(INSTALL_DIR) $(IDIR_CDRKIT)/usr/bin
33 $(INSTALL_BIN) $(WRKINST)/usr/bin/* \
34 $(IDIR_CDRKIT)/usr/bin
36 include $(ADK_TOPDIR)/mk/pkg-bottom.mk