]>
Commit | Line | Data |
---|---|---|
45975375 MT |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
e3e891c5 MT |
27 | # XXX need to fix rpath |
28 | QUALITY_AGENT_WHITELIST_RPATH = /usr/lib | |
29 | ||
45975375 | 30 | PKG_NAME = sqlite |
e3e891c5 | 31 | PKG_VER = 3.7.3 |
45975375 MT |
32 | PKG_REL = 0 |
33 | ||
34 | PKG_MAINTAINER = | |
bb7d617c | 35 | PKG_GROUPS = System/Databases |
45975375 MT |
36 | PKG_URL = http://www.sqlite.org/ |
37 | PKG_LICENSE = PublicDomain | |
38 | PKG_SUMMARY = A small an versative Database, that uses simple text files. | |
39 | ||
e3e891c5 | 40 | PKG_BUILD_DEPS+= autoconf automake libtool ncurses-devel readline-devel tcl |
45975375 MT |
41 | |
42 | define PKG_DESCRIPTION | |
43 | SQLite is a in-process library that implements a self-contained, \ | |
44 | serverless, zero-configuration, transactional SQL database engine. \ | |
45 | The code for SQLite is in the public domain and is thus free for \ | |
46 | use for any purpose, commercial or private. SQLite is currently \ | |
47 | found in more applications than we can count, including several \ | |
48 | high-profile projects. | |
49 | endef | |
50 | ||
51 | PKG_TARBALL = $(THISAPP).tar.gz | |
52 | ||
52d652a9 MT |
53 | PKG_PACKAGES += $(PKG_NAME)-devel |
54 | ||
e3e891c5 MT |
55 | CFLAGS += -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 \ |
56 | -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 \ | |
57 | -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -fno-strict-aliasing | |
45975375 | 58 | |
e3e891c5 MT |
59 | CONFIGURE_OPTIONS += \ |
60 | --enable-threadsafe \ | |
61 | --enable-threads-override-locks \ | |
62 | --enable-load-extension \ | |
63 | --disable-tcl | |
45975375 | 64 | |
e3e891c5 MT |
65 | define STAGE_PREPARE_CMDS |
66 | cd $(DIR_APP) && autoreconf -vfi | |
45975375 | 67 | endef |