python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / ocrad / ocrad.mk
blob54b607c79193b227b4664d4c02315297b79f6b03
1 ################################################################################
3 # ocrad
5 ################################################################################
7 OCRAD_VERSION = 0.25
8 OCRAD_SOURCE = ocrad-$(OCRAD_VERSION).tar.lz
9 OCRAD_SITE = $(BR2_GNU_MIRROR)/ocrad
10 OCRAD_LICENSE = GPLv3+
11 OCRAD_LICENSE_FILES = COPYING
12 OCRAD_INSTALL_STAGING = YES
14 # This is not a true autotools package.
15 define OCRAD_CONFIGURE_CMDS
16 cd $(@D) && \
17 $(TARGET_MAKE_ENV) ./configure --prefix=/usr --sysconfdir=/etc $(TARGET_CONFIGURE_OPTS)
18 endef
20 define OCRAD_BUILD_CMDS
21 $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
22 endef
24 define OCRAD_INSTALL_STAGING_CMDS
25 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
26 endef
28 define OCRAD_INSTALL_TARGET_CMDS
29 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
30 endef
32 $(eval $(generic-package))