libgtk3: remove non-existent configure options
[buildroot-gz.git] / package / open2300 / open2300.mk
blob588692d44f9dce2f380bc9156466e8534e1a964a
1 ################################################################################
3 # open2300
5 ################################################################################
7 OPEN2300_SITE = http://www.lavrsen.dk/svn/open2300/trunk
8 OPEN2300_SITE_METHOD = svn
9 OPEN2300_VERSION = 12
10 OPEN2300_LICENSE = GPLv2
11 OPEN2300_LICENSE_FILES = COPYING
13 OPEN2300_BINS = \
14 open2300 dump2300 log2300 fetch2300 wu2300 cw2300 history2300 \
15 histlog2300 bin2300 xml2300 light2300 interval2300 minmax2300
16 OPEN2300_CFLAGS = $(TARGET_CFLAGS)
17 OPEN2300_LDFLAGS = $(TARGET_LDFLAGS)
19 ifeq ($(BR2_PACKAGE_MYSQL),y)
20 OPEN2300_DEPENDENCIES += mysql
21 OPEN2300_BINS += mysql2300 mysqlhistlog2300
22 OPEN2300_CFLAGS += -I$(STAGING_DIR)/usr/include/mysql
23 OPEN2300_LDFLAGS += -L$(STAGING_DIR)/usr/lib/mysql -lmysqlclient
24 ifeq ($(BR2_STATIC_LIBS),y)
25 # mysql needs -lz, so we need to specify it for static builds
26 OPEN2300_LDFLAGS += -lz
27 endif
28 endif
30 define OPEN2300_BUILD_CMDS
31 $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" \
32 CFLAGS="$(OPEN2300_CFLAGS)" CC_LDFLAGS="$(OPEN2300_LDFLAGS)" \
33 -C $(@D) $(OPEN2300_BINS)
34 endef
36 define OPEN2300_INSTALL_TARGET_CMDS
37 for prog in $(OPEN2300_BINS); do \
38 $(INSTALL) -D -m 0755 $(@D)/$$prog $(TARGET_DIR)/usr/bin/$$prog ; \
39 done
40 endef
42 $(eval $(generic-package))