Merge pull request #22197 from oskarirauta/zsh
[feed/packages.git] / lang / perl-text-csv_xs / Makefile
1 #
2 # Copyright (C) 2017 Philip Prindeville, Redfish Solutions, LLC
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=perl-text-csv_xs
11 PKG_VERSION:=1.52
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=Text-CSV_XS-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=https://cpan.metacpan.org/authors/id/H/HM/HMBRAND
16 PKG_HASH:=e415aa705badf84b359dc4c0f0c982f1bf708481daa14756f3136e7c89c0e41d
17 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Text-CSV_XS-$(PKG_VERSION)
18
19 PKG_MAINTAINER:=Philip Prindeville <philipp@redfish-solutions.com>
20 PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
21
22 include $(INCLUDE_DIR)/package.mk
23 include ../perl/perlmod.mk
24
25 define Package/perl-text-csv_xs
26 SUBMENU:=Perl
27 SECTION:=lang
28 CATEGORY:=Languages
29 TITLE:=Text comma-separated values manipulation routines
30 URL:=https://search.cpan.org/dist/Text-CSV_XS/
31 DEPENDS:=perl +perlbase-essential +perlbase-config +perlbase-io +perlbase-dynaloader
32 endef
33
34 define Build/Configure
35 $(call perlmod/Configure,,)
36 endef
37
38 define Build/Compile
39 $(call perlmod/Compile,,)
40 endef
41
42 define Package/perl-text-csv_xs/install
43 $(call perlmod/Install,$(1),Text Text/CSV_XS.pm auto/Text/CSV_XS)
44 endef
45
46
47 $(eval $(call BuildPackage,perl-text-csv_xs))