5bda8c9681
Signed-off-by: Dave Bender <bender@benegon.com> Signed-off-by: David Bender <codehero@gmail.com> [yann.morin.1998@free.fr: simplify rules to use -C $(@D); do not install in target/ ; add description to patches; split patches into independent changes; add hash] [Thomas: fix minor typos in patch description.] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
642 B
Makefile
26 lines
642 B
Makefile
################################################################################
|
|
#
|
|
# cgic
|
|
#
|
|
################################################################################
|
|
|
|
CGIC_VERSION = 2.06
|
|
CGIC_SOURCE = cgic206.tar.gz
|
|
CGIC_SITE = http://boutell.com/cgic
|
|
CGIC_LICENSE = Custom
|
|
CGIC_LICENSE_FILES = license.txt
|
|
|
|
# Installs only a static library and a header file
|
|
CGIC_INSTALL_STAGING = YES
|
|
CGIC_INSTALL_TARGET = NO
|
|
|
|
define CGIC_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) libcgic.a
|
|
endef
|
|
|
|
define CGIC_INSTALL_STAGING_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) PREFIX=$(STAGING_DIR) -C $(@D) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|