2 # Copyright (C) 2017 Philip Prindeville, Redfish Solutions, LLC
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=perl-text-csv_xs
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
:=85b5e1bed7e11dc0413d4e920cee25d980de47376c0048029041cf461eac96b1
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/perl
/Text-CSV_XS-
$(PKG_VERSION
)
19 PKG_MAINTAINER
:=Philip Prindeville
<philipp@redfish-solutions.com
>
20 PKG_LICENSE
:=GPL-1.0
-or-later Artistic-1.0
-Perl
22 include $(INCLUDE_DIR
)/package.mk
23 include ..
/perl
/perlmod.mk
25 define Package
/perl-text-csv_xs
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
34 define Build
/Configure
35 $(call perlmod
/Configure
,,)
39 $(call perlmod
/Compile
,,)
42 define Package
/perl-text-csv_xs
/install
43 $(call perlmod
/Install
,$(1),Text Text
/CSV_XS.pm auto
/Text
/CSV_XS
)
47 $(eval
$(call BuildPackage
,perl-text-csv_xs
))