Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/web
In directory vz-cvs-3.sog:/tmp/cvs-serv13469

Added Files:
        libjs-jquery.info libjs-jquery.patch 
Log Message:
New package

--- NEW FILE: libjs-jquery.patch ---
diff -ruN jquery_1.7.2+debian.orig.orig/fink/patches/build.patch 
jquery_1.7.2+debian.orig/fink/patches/build.patch
--- jquery_1.7.2+debian.orig.orig/fink/patches/build.patch      1969-12-31 
17:00:00.000000000 -0700
+++ jquery_1.7.2+debian.orig/fink/patches/build.patch   2012-07-04 
19:29:51.000000000 -0600
@@ -0,0 +1,22 @@
+--- jquery.orig/Makefile       2012-05-22 11:55:47.000000000 -0300
++++ jquery/Makefile    2012-05-22 22:04:41.000000000 -0300
+@@ -5,8 +5,8 @@
+ PREFIX = .
+ DIST_DIR = ${PREFIX}/dist
+ 
+-JS_ENGINE ?= `which node nodejs 2>/dev/null`
+-COMPILER = ${JS_ENGINE} ${BUILD_DIR}/uglify.js --unsafe
++JS_ENGINE ?= `which node 2>/dev/null || which nodejs 2>/dev/null`
++COMPILER = `which uglifyjs 2>/dev/null` --unsafe
+ POST_COMPILER = ${JS_ENGINE} ${BUILD_DIR}/post-compile.js
+ 
+ BASE_FILES = ${SRC_DIR}/core.js\
+@@ -42,7 +42,7 @@
+ JQ_VER = $(shell cat version.txt)
+ VER = sed "s/@VERSION/${JQ_VER}/"
+ 
+-DATE=$(shell git log -1 --pretty=format:%ad)
++DATE=$(shell date)
+ 
+ all: update_submodules core
+ 

--- NEW FILE: libjs-jquery.info ---
Package: libjs-jquery
Version: 1.7.2
Revision: 2
###
BuildDepends: node-uglify
Depends: javascript-common
###
Source: mirror:debian:/pool/main/j/jquery/jquery_%v+debian.orig.tar.gz
Source-MD5: cd39ef69e2b0e2aaaac2e1fed17f3d91
SourceDirectory: jquery_1.7.2+debian.orig
###
PatchFile: %n.patch
PatchFile-MD5: 482008df524714d14ef3cfed3386cfe6
PatchScript: <<
  sed -e 's,@FINKPREFIX@,%p,g' %{PatchFile} | patch -p1

  patch -p1 < fink/patches/build.patch
<<
###
DocFiles: GPL-LICENSE.txt MIT-LICENSE.txt README.md
###
CompileScript: make
InstallScript: <<
install -d -m0755 %i/share/javascript/jquery

install -m0644 %b/dist/*.js %i/share/javascript/jquery
install -m0644 %b/version.txt %i/share/javascript/jquery

# links
ln -s %p/share/javascript/jquery/jquery.min.js 
%i/share/javascript/jquery/jquery.pack.js
ln -s %p/share/javascript/jquery/jquery.min.js 
%i/share/javascript/jquery/jquery.lite.js
<<
###
Description: JS library for dynamic web applications
DescDetail: <<
jQuery is a fast, concise, JavaScript Library that simplifies how you
traverse HTML documents, handle events, perform animations, and add Ajax
interactions to your web pages. jQuery is designed to change the way
that you write JavaScript.
<<
###
License: GPL
Homepage: http://jquery.com/
Maintainer: Justin F. Hallett <[email protected]>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to