[oe-commits] org.oe.dev jhead: addition of jhead recipe

awilcox commit openembedded-commits at lists.openembedded.org
Wed Dec 13 22:23:02 UTC 2006


jhead: addition of jhead recipe

Author: awilcox at openembedded.org
Branch: org.openembedded.dev
Revision: 1fc9d550468a28c01730e8075da9eb6354279e82
ViewMTN: http://monotone.openembedded.org/revision.psp?id=1fc9d550468a28c01730e8075da9eb6354279e82
Files:
1
packages/jhead
packages/jhead/jhead_2.6.0.bb
packages/jhead/makefile.patch
Diffs:

#
# mt diff -r2b68c3f3daefc2e1d866e4d3a818bdb2c9530909 -r1fc9d550468a28c01730e8075da9eb6354279e82
#
# 
# 
# add_dir "packages/jhead"
# 
# add_file "packages/jhead/jhead_2.6.0.bb"
#  content [ddb406dde1bd9fe977b09fcf3b3fece18311b7c8]
# 
# add_file "packages/jhead/makefile.patch"
#  content [e58d3f276a493e401b7f42b3631b1155f009729d]
# 
============================================================
--- packages/jhead/jhead_2.6.0.bb	ddb406dde1bd9fe977b09fcf3b3fece18311b7c8
+++ packages/jhead/jhead_2.6.0.bb	ddb406dde1bd9fe977b09fcf3b3fece18311b7c8
@@ -0,0 +1,12 @@
+SECTION = "apps"
+
+S = ${WORKDIR}/jhead-2.6
+PR = "r0"
+SRC_URI = "http://www.sentex.net/~mwandel/jhead/jhead-2.6.tar.gz \
+	file://makefile.patch;patch=1"
+
+inherit autotools 
+
+do_configure() {
+	:
+}
============================================================
--- packages/jhead/makefile.patch	e58d3f276a493e401b7f42b3631b1155f009729d
+++ packages/jhead/makefile.patch	e58d3f276a493e401b7f42b3631b1155f009729d
@@ -0,0 +1,22 @@
+--- jhead-2.6/makefile	2006-04-29 16:14:59.000000000 -0700
++++ jhead-2.6/makefile	2006-08-17 07:59:14.000000000 -0700
+@@ -3,13 +3,18 @@
+ #--------------------------------
+ OBJ=.
+ SRC=.
++DESTDIR=/usr
++bindir=/bin
+ 
+ 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
++
++install: jhead
++	install -m 755 jhead $(DESTDIR)$(bindir)/jhead






More information about the Openembedded-commits mailing list