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_URL
:=https
://www.cpan.org
/authors
/id
/H
/HM
/HMBRAND
/
15 PKG_SOURCE
:=Text-CSV_XS-
$(PKG_VERSION
).tgz
16 PKG_HASH
:=aa4e424eaf68bea0d0e8c16b961c942b64926e6183ce1dbbc6c799eafb0a9ebd
18 PKG_LICENSE
:=GPL-1.0
-or-later Artistic-1.0
-Perl
19 PKG_MAINTAINER
:=Philip Prindeville
<philipp@redfish-solutions.com
>
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/perl
/Text-CSV_XS-
$(PKG_VERSION
)
23 include $(INCLUDE_DIR
)/package.mk
24 include ..
/perl
/perlmod.mk
26 define Package
/perl-text-csv_xs
30 TITLE
:=Text comma-separated values manipulation routines
31 URL
:=http
://search.cpan.org
/dist/Text-CSV_XS
/
32 DEPENDS
:=perl
+perlbase-essential
+perlbase-config
+perlbase-io
+perlbase-dynaloader
35 define Build
/Configure
36 $(call perlmod
/Configure
,,)
40 $(call perlmod
/Compile
,,)
43 define Package
/perl-text-csv_xs
/install
44 $(call perlmod
/Install
,$(1),Text Text
/CSV_XS.pm auto
/Text
/CSV_XS
)
48 $(eval
$(call BuildPackage
,perl-text-csv_xs
))