2 # Copyright (C) 2015 OpenWrt.org
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-file-listing
14 PKG_SOURCE_URL
:=http
://www.cpan.org
/authors
/id
/G
/GA
/GAAS
15 PKG_SOURCE
:=File-Listing-
$(PKG_VERSION
).
tar.gz
16 PKG_HASH
:=1e0050fcd6789a2179ec0db282bf1e90fb92be35d1171588bd9c47d52d959cf5
18 PKG_LICENSE
:=GPL-1.0
-or-later Artistic-1.0
-Perl
19 PKG_MAINTAINER
:=Marcel Denia
<naoir@gmx.net
>
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/perl
/File-Listing-
$(PKG_VERSION
)
23 include $(INCLUDE_DIR
)/package.mk
24 include ..
/perl
/perlmod.mk
26 define Package
/perl-file-listing
30 TITLE
:=Parse directory listing
31 URL
:=http
://search.cpan.org
/dist/File-Listing
/
32 DEPENDS
:=perl
+perl-http-date
+perlbase-essential
35 define Build
/Configure
36 $(call perlmod
/Configure
,,)
40 $(call perlmod
/Compile
,,)
43 define Package
/perl-file-listing
/install
44 $(call perlmod
/Install
,$(1),File auto
/File
)
48 $(eval
$(call BuildPackage
,perl-file-listing
))