ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ozone/mgar/pkg/mksql
Revision: 1
Committed: Sat Jun 20 14:58:51 2026 UTC (4 weeks, 3 days ago) by operz
File size: 1370 byte(s)
Log Message:
Initial import of OZSW mgar build tree

File Contents

# User Rev Content
1 operz 1 # vim: ft=make ts=4 sw=4 noet
2    
3     NAME = sqlite3
4     VERSION = 3530200
5     GARTYPE = v2
6    
7     DESCRIPTION = SQLite version 3, the lightweight SQL database library
8     define BLURB
9     SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine.
10     SQLite is the most used database engine in the world.
11     endef
12    
13     MASTER_SITES = https://sqlite.org/2026/
14     DISTFILES += $(DISTNAME).tar.gz
15    
16     LICENSE = COPYING
17    
18     PACKAGES += OZSWhello
19     SPKG_DESC_OZSWhello = GNU Hello, the friendly greeting program
20     CATALOGNAME_OZSWhello = hello
21     # Catch-all: leave PKGFILES_OZSWhello unset (GAR uses exclude-other-pkgs mechanism).
22    
23     RUNTIME_DEP_PKGS_OZSWhello += OZSWgettext OZSWlibiconv
24     BUILD_DEP_PKGS += OZSWgettext OZSWlibiconv
25    
26     # Enable Solaris extension macros (wprintf, mbstowcs, pthreads, etc.)
27     EXTENSIONS = 1
28    
29     # GNU ld requires all DSO dependencies to be explicit; libintl.so uses
30     # libiconv internally, so we must add it to the link line.
31     EXTRA_LD_FLAGS += -liconv
32    
33     # Patch libtool scripts to replace ksh93 "print -r --" with printf
34     # so they work under bash (our SHELL override).
35     post-configure:
36     @echo "==> Patching libtool scripts for bash compatibility"
37     @find $(WORKSRC) -name "libtool" -type f -exec \
38     gsed -i 's/ECHO="print -r --"/ECHO="printf %s\\\\n"/g' {} \;
39     @$(MAKECOOKIE)
40    
41     include gar/category.mk