@@ -144,9 +144,9 @@ def library_recipes():
144144 if DEPTARGET < '10.5' :
145145 result .extend ([
146146 dict (
147- name = "Bzip2 1.0.5 " ,
148- url = "http://www. bzip.org/1.0.5 /bzip2-1.0.5 .tar.gz" ,
149- checksum = '3c15a0c8d1d3ee1c46a1634d00617b1a ' ,
147+ name = "Bzip2 1.0.6 " ,
148+ url = "http://bzip.org/1.0.6 /bzip2-1.0.6 .tar.gz" ,
149+ checksum = '00b516f4704d4a7cb50a1d97e6e8e15b ' ,
150150 configure = None ,
151151 install = 'make install CC=%s PREFIX=%s/usr/local/ CFLAGS="-arch %s -isysroot %s"' % (
152152 CC ,
@@ -169,36 +169,41 @@ def library_recipes():
169169 ),
170170 dict (
171171 # Note that GNU readline is GPL'd software
172- name = "GNU Readline 5 .1.4 " ,
173- url = "http://ftp.gnu.org/pub/gnu/readline/readline-5 .1.tar.gz" ,
174- checksum = '7ee5a692db88b30ca48927a13fd60e46 ' ,
172+ name = "GNU Readline 6 .1.2 " ,
173+ url = "http://ftp.gnu.org/pub/gnu/readline/readline-6 .1.tar.gz" ,
174+ checksum = 'fc2f7e714fe792db1ce6ddc4c9fb4ef3 ' ,
175175 patchlevel = '0' ,
176176 patches = [
177177 # The readline maintainers don't do actual micro releases, but
178178 # just ship a set of patches.
179- 'http://ftp.gnu.org/pub/gnu/readline/readline-5.1-patches/readline51-001' ,
180- 'http://ftp.gnu.org/pub/gnu/readline/readline-5.1-patches/readline51-002' ,
181- 'http://ftp.gnu.org/pub/gnu/readline/readline-5.1-patches/readline51-003' ,
182- 'http://ftp.gnu.org/pub/gnu/readline/readline-5.1-patches/readline51-004' ,
179+ 'http://ftp.gnu.org/pub/gnu/readline/readline-6.1-patches/readline61-001' ,
180+ 'http://ftp.gnu.org/pub/gnu/readline/readline-6.1-patches/readline61-002' ,
183181 ]
184182 ),
185183 dict (
186- name = "SQLite 3.6.11" ,
187- url = "http://www.sqlite.org/sqlite-3.6.11.tar.gz" ,
188- checksum = '7ebb099696ab76cc6ff65dd496d17858' ,
184+ name = "SQLite 3.7.4" ,
185+ url = "http://www.sqlite.org/sqlite-autoconf-3070400.tar.gz" ,
186+ checksum = '8f0c690bfb33c3cbbc2471c3d9ba0158' ,
187+ configure_env = ('CFLAGS="-Os'
188+ ' -DSQLITE_ENABLE_FTS3'
189+ ' -DSQLITE_ENABLE_FTS3_PARENTHESIS'
190+ ' -DSQLITE_ENABLE_RTREE'
191+ ' -DSQLITE_TCL=0'
192+ '"' ),
189193 configure_pre = [
190194 '--enable-threadsafe' ,
191- '--enable-tempstore' ,
192195 '--enable-shared=no' ,
193196 '--enable-static=yes' ,
194- '--disable-tcl' ,
197+ '--disable-readline' ,
198+ '--disable-dependency-tracking' ,
195199 ]
196200 ),
197201 dict (
198202 name = "NCurses 5.5" ,
199203 url = "http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.5.tar.gz" ,
200204 checksum = 'e73c1ac10b4bfc46db43b2ddfd6244ef' ,
201205 configure_pre = [
206+ "--enable-widec" ,
202207 "--without-cxx" ,
203208 "--without-ada" ,
204209 "--without-progs" ,
@@ -225,18 +230,19 @@ def library_recipes():
225230 ),
226231 ])
227232
228- result .extend ([
229- dict (
230- name = "Sleepycat DB 4.7.25" ,
231- url = "http://download.oracle.com/berkeley-db/db-4.7.25.tar.gz" ,
232- checksum = 'ec2b87e833779681a0c3a814aa71359e' ,
233- buildDir = "build_unix" ,
234- configure = "../dist/configure" ,
235- configure_pre = [
236- '--includedir=/usr/local/include/db4' ,
237- ]
238- ),
239- ])
233+ if not PYTHON_3 :
234+ result .extend ([
235+ dict (
236+ name = "Sleepycat DB 4.7.25" ,
237+ url = "http://download.oracle.com/berkeley-db/db-4.7.25.tar.gz" ,
238+ checksum = 'ec2b87e833779681a0c3a814aa71359e' ,
239+ buildDir = "build_unix" ,
240+ configure = "../dist/configure" ,
241+ configure_pre = [
242+ '--includedir=/usr/local/include/db4' ,
243+ ]
244+ ),
245+ ])
240246
241247 return result
242248
@@ -697,6 +703,9 @@ def buildRecipe(recipe, basedir, archList):
697703 configure_args .insert (0 , configure )
698704 configure_args = [ shellQuote (a ) for a in configure_args ]
699705
706+ if 'configure_env' in recipe :
707+ configure_args .insert (0 , recipe ['configure_env' ])
708+
700709 print "Running configure for %s" % (name ,)
701710 runCommand (' ' .join (configure_args ) + ' 2>&1' )
702711
@@ -752,9 +761,9 @@ def buildPython():
752761 shutil .rmtree (buildDir )
753762 if os .path .exists (rootDir ):
754763 shutil .rmtree (rootDir )
755- os .mkdir (buildDir )
756- os .mkdir (rootDir )
757- os .mkdir (os .path .join (rootDir , 'empty-dir' ))
764+ os .makedirs (buildDir )
765+ os .makedirs (rootDir )
766+ os .makedirs (os .path .join (rootDir , 'empty-dir' ))
758767 curdir = os .getcwd ()
759768 os .chdir (buildDir )
760769
0 commit comments