toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / ocrad / ocrad.mk
blob7e4f8c1bb9b6770a3ffd50cc661462d8f5da635c
1 ################################################################################
3 # ocrad
5 ################################################################################
7 OCRAD_VERSION = 0.21
8 OCRAD_SITE = $(BR2_GNU_MIRROR)/ocrad
9 OCRAD_LICENSE = GPLv3+
10 OCRAD_LICENSE_FILES = COPYING
11 OCRAD_INSTALL_STAGING = YES
13 # This is not a true autotools package.
14 define OCRAD_CONFIGURE_CMDS
15 cd $(@D) && \
16 $(TARGET_MAKE_ENV) ./configure --prefix=/usr --sysconfdir=/etc $(TARGET_CONFIGURE_OPTS)
17 endef
19 define OCRAD_BUILD_CMDS
20 $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
21 endef
23 define OCRAD_INSTALL_STAGING_CMDS
24 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
25 endef
27 define OCRAD_INSTALL_TARGET_CMDS
28 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
29 endef
31 $(eval $(generic-package))