summaryrefslogtreecommitdiff
path: root/ext/mime_magic
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2004-03-23 19:46:10 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2004-03-23 19:46:10 +0000
commiteeb172b29f65b9a340638b7096b6dd82399b4562 (patch)
treea10ba860254a453537a2f6fef55ab9a01abbc235 /ext/mime_magic
parent82e2b354ac8d2df5643b50c432bde5ad0edac8db (diff)
downloadphp-git-eeb172b29f65b9a340638b7096b6dd82399b4562.tar.gz
"The Visa to Sibiria" (work in progress)
Adding a package.xml to a bundled extension does not only ease the transition to PECL whereever suitable but also allows to build and install an extension as "shared" using the PEAR installer without having to deal with phpize and friends by hand
Diffstat (limited to 'ext/mime_magic')
-rw-r--r--ext/mime_magic/package.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/ext/mime_magic/package.xml b/ext/mime_magic/package.xml
new file mode 100644
index 0000000000..34701c7300
--- /dev/null
+++ b/ext/mime_magic/package.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE package SYSTEM "../pear/package.dtd">
+<package>
+ <name>mime_magic</name>
+ <summary>MIME type detection using magic numbers</summary>
+ <maintainers>
+ <maintainer>
+ <user>hholzgra</user>
+ <name>Hartmut Holzgraefe</name>
+ <email>hartmut@php.net</email>
+ <role>lead</role>
+ </maintainer>
+ </maintainers>
+ <description>
+mime_magic tries to detect a files MIME type by testing certain
+byte positions against known magic numbers collected in a data
+file. It uses the same file format as the UNIX file program and
+apache mod_magic. The actual code is based on detection code from
+apache mod_magic which is itself an adaption of the original 'file'
+code.
+ </description>
+ <license>PHP</license>
+ <release>
+ <state>beta</state>
+ <version>1.0rc1</version>
+ <date>2004-03-19</date>
+ <notes>
+package.xml added to support intallation using pear installer
+ </notes>
+ <configureoptions>
+ <configureoption name="with-mime-magic" default="autodetect" prompt="magic.mime data file?"/>
+ </configureoptions>
+ <filelist>
+ <file role="src" name="config.m4"/>
+ <file role="src" name="mime_magic.c"/>
+ <file role="src" name="php_mime_magic.h"/>
+ <file role="src" name="phpmimemagic.h"/>
+ <file role="doc" name="CREDITS"/>
+ <file role="doc" name="EXPERIMENTAL"/>
+ <file role="doc" name="TODO"/>
+ </filelist>
+ <deps>
+ <dep type="php" rel="ge" version="5" />
+ </deps>
+ </release>
+</package>
+<!--
+vim:et:ts=1:sw=1
+-->