SF.net SVN: gar:[23359] csw/mgar/pkg/jhead/trunk

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Sun Apr 6 14:05:22 CEST 2014


Revision: 23359
          http://sourceforge.net/p/gar/code/23359
Author:   cgrzemba
Date:     2014-04-06 12:05:19 +0000 (Sun, 06 Apr 2014)
Log Message:
-----------
jhead/trunk: Update, installs in global, why?

Modified Paths:
--------------
    csw/mgar/pkg/jhead/trunk/Makefile
    csw/mgar/pkg/jhead/trunk/checksums
    csw/mgar/pkg/jhead/trunk/files/makefile.patch

Modified: csw/mgar/pkg/jhead/trunk/Makefile
===================================================================
--- csw/mgar/pkg/jhead/trunk/Makefile	2014-04-06 11:34:37 UTC (rev 23358)
+++ csw/mgar/pkg/jhead/trunk/Makefile	2014-04-06 12:05:19 UTC (rev 23359)
@@ -1,7 +1,7 @@
 NAME = jhead
-VERSION = 2.7
-GARTYPE = v1
+VERSION = 2.97
 
+
 DESCRIPTION = EXIF parser for JPEG images
 define BLURB
   Jhead can extract and modify EXIF information contained in JPEG files.
@@ -14,6 +14,7 @@
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
 
+GARCOMPILER = GCC4
 PATCHFILES = makefile.patch
 
 # jhead doesn't use configure

Modified: csw/mgar/pkg/jhead/trunk/checksums
===================================================================
--- csw/mgar/pkg/jhead/trunk/checksums	2014-04-06 11:34:37 UTC (rev 23358)
+++ csw/mgar/pkg/jhead/trunk/checksums	2014-04-06 12:05:19 UTC (rev 23359)
@@ -1,5 +1 @@
-e6ea1eacd35c55dfd8dc1f6dd0abaa2d  download/jhead-2.5.tar.gz
-be10a197a8858de5d86ae89219e806fb  download/jhead-2.7.tar.gz
-cf3dc9340ce7b293ad72c92628d92bc9  download/CSWjhead.gspec
-0f3f88e96c51e3e65a30cb9099edabe5  download/CSWjhead.prototype
-4a984e0245f66d0b51942e954ec79361  download/makefile.patch
+23b037d0c54211973a3951e41a97c924  jhead-2.97.tar.gz

Modified: csw/mgar/pkg/jhead/trunk/files/makefile.patch
===================================================================
--- csw/mgar/pkg/jhead/trunk/files/makefile.patch	2014-04-06 11:34:37 UTC (rev 23358)
+++ csw/mgar/pkg/jhead/trunk/files/makefile.patch	2014-04-06 12:05:19 UTC (rev 23359)
@@ -1,32 +1,21 @@
---- jhead-2.5.orig/makefile	2006-01-08 09:13:16.000000000 -0800
-+++ jhead-2.5/makefile	2007-01-21 18:29:55.424938000 -0800
-@@ -4,12 +4,27 @@
- OBJ=.
- SRC=.
+--- a/makefile
++++ b/makefile
+@@ -14,10 +14,16 @@ $(OBJ)/%.o:$(SRC)/%.c
+ 	${CC} $(CFLAGS) -c $< -o $@
  
-+myprefix?=/opt/csw
-+
- all: jhead
- 
- objs = $(OBJ)/jhead.o $(OBJ)/jpgfile.o $(OBJ)/exif.o $(OBJ)/gpsinfo.o $(OBJ)/makernote.o 
- 
- $(OBJ)/%.o:$(SRC)/%.c
--	${CC} -O3 -Wall -c $< -o $@
-+	${CC} $(CFLAGS) -c $< -o $@
- 
  jhead: $(objs) jhead.h
 -	${CC} -o jhead $(objs) -lm
 +	${CC} $(LDFLAGS) -o jhead $(objs) -lm
-+
-+install: all
+ 
+ clean:
+ 	rm -f $(objs) jhead
+ 
+ install:
+-	cp jhead ${DESTDIR}/usr/local/bin/
 +	echo DESTDIR=$(DESTDIR)
 +	sed '1,/^Liscence:/d' < readme.txt >COPYING
 +	test -x /usr/ccs/bin/strip && /usr/ccs/bin/strip jhead
 +	test -x /usr/ccs/bin/mcs && /usr/ccs/bin/mcs -d jhead
-+	ginstall -D jhead $(DESTDIR)$(myprefix)/bin/jhead
-+	ginstall -D jhead.1.gz $(DESTDIR)$(myprefix)/share/man/man1/jhead.1.gz
-+	ginstall -D changes.txt $(DESTDIR)$(myprefix)/share/doc/jhead/changes.txt
-+	gzip -d $(DESTDIR)$(myprefix)/share/man/man1/jhead.1.gz
-+
-+clean:
-+	rm -f *.o jhead
++	ginstall -D jhead $(DESTDIR)$(prefix)/bin/jhead
++	ginstall -D jhead.1 $(DESTDIR)$(mandir)/man1/jhead.1
++	ginstall -D changes.txt $(DESTDIR)$(docdir)/jhead/changes.tx

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list