]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
mailcap: New package.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 13 Mar 2011 20:05:59 +0000 (21:05 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 13 Mar 2011 20:05:59 +0000 (21:05 +0100)
Reference #144.

pkgs/mailcap/mailcap.nm [new file with mode: 0644]

diff --git a/pkgs/mailcap/mailcap.nm b/pkgs/mailcap/mailcap.nm
new file mode 100644 (file)
index 0000000..b2532fe
--- /dev/null
@@ -0,0 +1,55 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt                 #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include $(PKGROOT)/Include
+
+PKG_NAME       = mailcap
+PKG_VER        = 2.1.36
+PKG_REL        = 1
+PKG_ARCH       = noarch
+
+PKG_MAINTAINER =
+PKG_GROUP      = System/Base
+PKG_URL        = https://fedorahosted.org/released/mailcap/
+PKG_LICENSE    = Public Domain and MIT
+PKG_SUMMARY    = Helper application and MIME type associations for file types.
+
+define PKG_DESCRIPTION
+       The mailcap file is used by the metamail program.  Metamail reads the \
+       mailcap file to determine how it should display non-text or multimedia \
+       material.  Basically, mailcap associates a particular type of file \
+       with a particular program that a mail agent or other program can call \
+       in order to handle the file.  Mailcap should be installed to allow \
+       certain programs to be able to handle non-text files.
+endef
+
+PKG_TARBALL    = $(THISAPP).tar.xz
+
+INSTALL_TARGETS = sysconfdir=/etc mandir=/usr/share/man
+
+STAGE_BUILD = # Nothing to do
+
+define STAGE_TEST
+       cd $(DIR_APP) && make check
+endef