Skip to content

Commit

Permalink
Initial version of firebirdSQL package SynoCommunity#5795
Browse files Browse the repository at this point in the history
- Copy aria2 spk configuration and start modifying files.
- Use configure --with-cross-build as used by firebird build itself
  • Loading branch information
vitkabele committed Jul 24, 2023
1 parent 94dc22e commit 6da8652
Show file tree
Hide file tree
Showing 7 changed files with 766 additions and 0 deletions.
39 changes: 39 additions & 0 deletions cross/firebird/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
PKG_NAME = firebird
PKG_VERS = 4.0.2
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/FirebirdSQL/firebird/archive/refs/tags/
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

# Currently v4.0.2 works only with 7.1
DEPENDS = cross/zlib cross/libicu

# archs with too old c++ compiler (c++ 11 is required)
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(OLD_PPC_ARCHS)

include ../../mk/spksrc.common.mk
ifeq ($(call version_lt,${TCVERSION},6.0)$(call version_gt,${TCVERSION},2.0),11)
# compiler too old
UNSUPPORTED_ARCHS += $(ARCH)
endif

HOMEPAGE = https://www.firebirdsql.org/
COMMENT = Firebird is a relational database offering many ANSI SQL standard features that runs on Linux, Windows, MacOS and a variety of Unix platforms.
LICENSE = MPL

GNU_CONFIGURE = 1
CONFIGURE_TARGET = firebird_configure

CONFIGURE_ARGS = --with-builtin-tommath --with-builtin-tomcrypt --without-termlib --without-editline --with-cross-build=synology

include ../../mk/spksrc.cross-cc.mk

# TODO: libtool-bin must be installed !!

.PHONY: firebird_configure
firebird_configure:
cp src/make.synology $(WORK_DIR)/$(PKG_DIR)/builds/posix/
cp src/cross_config/* $(WORK_DIR)/$(PKG_DIR)/src/include/cross/
$(RUN) ./autogen.sh $(CONFIGURE_ARGS)


1 change: 1 addition & 0 deletions cross/firebird/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin:bin/firebird
3 changes: 3 additions & 0 deletions cross/firebird/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
v4.0.2.tar.gz SHA1 c0ba59179feb4ee3068403fe3a0e1d5e6f046cb1
v4.0.2.tar.gz SHA256 756428b86bb9a20f0117e0ea4cf499c79214c5c15a3a31ebddd8c95ded66db3d
v4.0.2.tar.gz MD5 4fd0b0726752545605e6297857bc0106
Loading

0 comments on commit 6da8652

Please sign in to comment.