summaryrefslogtreecommitdiffstats
path: root/package/cgic/cgic.mk
blob: f07c62e97e5a80feb62e6c8cffffe2d4fea1d3b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
################################################################################
#
# 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))
OpenPOWER on IntegriCloud