Package-Name: libexif
Gentoo-Package: media-libs/libexif
Homepage: http://sourceforge.net/projects/libexif
Source: sourceforge:///libexif/libexif-(\d+(.\d+)+).tar.bz2 $1
Zap-Before-Install: 1
Repack:
	tar xjvfp "$(SOURCE)"
Compile:
	cp -pf AUTHORS COPYING Change* NEWS README "$(PREFIX)/"
	$(MAKE) -f ../Makefile configure
	$(MAKE)
	$(MAKE) install
Install:
	$(MAKE) instinc INC=libexif
	$(MAKE) instlib LIB=exif
	$(MAKE) addldso
	$(MAKE) instpc PC=libexif
Patch: <<EOT
######## begin patch for no doxygen
diff -urN ../libexif-0.6.13-orig/doc/Makefile.am doc/Makefile.am
--- ../libexif-0.6.13-orig/doc/Makefile.am	2005-07-19 05:34:04 +0900
+++ doc/Makefile.am	2006-03-11 16:44:02 +0900
@@ -61,6 +61,10 @@
 	rsync -avz --progress $(DOXYGEN_OUTPUT_DIR)/$(HTML_APIDOC_INTERNALS_DIR)/ sf:/home/users/h/hu/hun/libexif/htdocs/internals/
 	ssh "sf" "find /home/groups/l/li/libexif/htdocs/internals /home/groups/l/li/libexif/htdocs/api \( -type d -exec chgrp libexif {} \; -exec chmod g+rwxs,a+rx {} \; \) -or \( -type f -exec chgrp libexif {} \; -exec chmod g+rw {} \; \( -name '*.html' -or -name '*.png' -or -name '*.php' -or -name '*.jpg' -or -name '*.css' -name '*.dot' -name '*.map' \) -exec chmod a+r {} \; \)"
 
+else
+
+install-apidocs install-apidocs-internals uninstall-apidocs uninstall-apidocs-internals clean-apidocs:
+
 endif
 
 
diff -urN ../libexif-0.6.13-orig/doc/Makefile.in doc/Makefile.in
--- ../libexif-0.6.13-orig/doc/Makefile.in	2005-12-28 06:18:36 +0900
+++ doc/Makefile.in	2006-03-11 16:44:27 +0900
@@ -442,6 +442,8 @@
 @HAVE_DOXYGEN_TRUE@	rsync -avz --progress $(DOXYGEN_OUTPUT_DIR)/$(HTML_APIDOC_INTERNALS_DIR)/ sf:/home/users/h/hu/hun/libexif/htdocs/internals/
 @HAVE_DOXYGEN_TRUE@	ssh "sf" "find /home/groups/l/li/libexif/htdocs/internals /home/groups/l/li/libexif/htdocs/api \( -type d -exec chgrp libexif {} \; -exec chmod g+rwxs,a+rx {} \; \) -or \( -type f -exec chgrp libexif {} \; -exec chmod g+rw {} \; \( -name '*.html' -or -name '*.png' -or -name '*.php' -or -name '*.jpg' -or -name '*.css' -name '*.dot' -name '*.map' \) -exec chmod a+r {} \; \)"
 
+@HAVE_DOXYGEN_FALSE@install-apidocs install-apidocs-internals uninstall-apidocs uninstall-apidocs-internals clean-apidocs:
+
 all-local: $(DOXYGEN_STAMPS)
 
 install-data-local: install-apidocs install-apidocs-internals
######## end patch for no doxygen
EOT

/pkg/libexif/
/usr/include/libexif
/usr/lib/libexif.*
/usr/lib/pkgconfig/libexif.pc
