]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl-HTML-Tagset: New package.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 13 Mar 2011 16:28:42 +0000 (17:28 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 13 Mar 2011 16:28:42 +0000 (17:28 +0100)
Referece #144.

pkgs/perl-HTML-Tagset/perl-HTML-Tagset.nm [new file with mode: 0644]

diff --git a/pkgs/perl-HTML-Tagset/perl-HTML-Tagset.nm b/pkgs/perl-HTML-Tagset/perl-HTML-Tagset.nm
new file mode 100644 (file)
index 0000000..1f1cd4c
--- /dev/null
@@ -0,0 +1,54 @@
+###############################################################################
+#                                                                             #
+# 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       = HTML-Tagset
+PKG_VER        = 3.20
+PKG_REL        = 1
+PKG_ARCH       = noarcha
+
+PKG_MAINTAINER =
+PKG_GROUP      = Development/Libratries
+PKG_URL        = http://search.cpan.org/dist/HTML-Tagset/
+PKG_LICENSE    = GPL+ or Artistic
+PKG_SUMMARY    = HTML::Tagset - data tables useful in parsing HTML.
+
+PKG_BUILD_DEPS+= perl-core perl-devel
+
+define PKG_DESCRIPTION
+       This module contains several data tables useful in various kinds of \
+       HTML parsing operations, such as tag and entity names.
+endef
+
+PKG_TARBALL    = $(THISAPP).tar.gz
+
+define STAGE_BUILD
+       cd $(DIR_APP) && perl Makefile.PL INSTALLDIRS=vendor
+       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
+endef
+
+define STAGE_TEST
+       cd $(DIR_APP) && make test
+endef