This repository has been archived by the owner on Sep 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'add_svn' of github.com:msarahan/conda-recipes into add_svn
- Loading branch information
Showing
5 changed files
with
44 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#/bin/sh | ||
|
||
# Compile the interpreter | ||
gcc -O2 shell.c sqlite3.c -I. -I$PREFIX/include \ | ||
-DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 \ | ||
-DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE \ | ||
-DSQLITE_ENABLE_EXPLAIN_COMMENTS \ | ||
-ldl -lc -lm -lpthread -o sqlite3 | ||
|
||
# make the shared library | ||
gcc -O2 -c -fPIC sqlite3.c -I. -I$PREFIX/include \ | ||
-DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 \ | ||
-DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE \ | ||
-DSQLITE_ENABLE_EXPLAIN_COMMENTS \ | ||
-o sqlite3.o | ||
gcc -shared sqlite3.o -ldl -L$PREFIX/lib -lpthread -lm -lc -fPIC -o libsqlite3.so | ||
|
||
mkdir -p ${PREFIX}/bin | ||
mkdir -p ${PREFIX}/lib | ||
mkdir -p ${PREFIX}/include | ||
|
||
cp sqlite3 ${PREFIX}/bin/ | ||
cp libsqlite3.so ${PREFIX}/lib/ | ||
cp sqlite3.h ${PREFIX}/include/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ build: | |
|
||
requirements: | ||
build: | ||
# python is for lining up vc feature (runtime) | ||
- python [win] | ||
|
||
about: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
./configure --prefix=$PREFIX | ||
./configure --prefix=$PREFIX --with-sqlite=$PREFIX \ | ||
--with-zlib=$PREFIX --with-openssl=$PREFIX | ||
make | ||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters