1 ################################################################################
5 ################################################################################
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
13 OCRAD_DEPENDENCIES
= host-lzip
15 define OCRAD_EXTRACT_CMDS
16 $(HOST_DIR
)/usr
/bin
/lzip
-d
-c
$(DL_DIR
)/$(OCRAD_SOURCE
) | \
17 tar --strip-components
=1 -C
$(@D
) $(TAR_OPTIONS
) -
20 # This is not a true autotools package.
21 define OCRAD_CONFIGURE_CMDS
23 $(TARGET_MAKE_ENV
) .
/configure
--prefix=/usr
--sysconfdir
=/etc
$(TARGET_CONFIGURE_OPTS
)
26 define OCRAD_BUILD_CMDS
27 $(TARGET_MAKE_ENV
) $(MAKE
) $(TARGET_CONFIGURE_OPTS
) -C
$(@D
)
30 define OCRAD_INSTALL_STAGING_CMDS
31 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(STAGING_DIR
) install
34 define OCRAD_INSTALL_TARGET_CMDS
35 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(TARGET_DIR
) install
38 $(eval
$(generic-package
))