zlog: update to 1.2.17
[feed/packages.git] / lang / perl-parse-yapp / Makefile
1 #
2 # Copyright (C) 2015 OpenWrt.org
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-parse-yapp
11 PKG_VERSION:=1.21
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_URL:=https://www.cpan.org/authors/id/W/WB/WBRASWELL/
15 PKG_SOURCE:=Parse-Yapp-$(PKG_VERSION).tar.gz
16 PKG_HASH:=3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5
17
18 PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
19
20 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/Parse-Yapp-$(PKG_VERSION)
21 HOST_BUILD_DEPENDS:=perl/host
22 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Parse-Yapp-$(PKG_VERSION)
23
24 include $(INCLUDE_DIR)/package.mk
25 include $(INCLUDE_DIR)/host-build.mk
26 include ../perl/perlmod.mk
27
28 define Package/perl-parse-yapp
29 SUBMENU:=Perl
30 SECTION:=lang
31 CATEGORY:=Languages
32 TITLE:=Yet Another Parser Parser For Perl
33 URL:=http://search.cpan.org/dist/Parse-Yapp/
34 DEPENDS:=perl +perlbase-essential +perlbase-test
35 endef
36
37 define Host/Configure
38 $(call perlmod/host/Configure,,,)
39 endef
40
41 define Host/Compile
42 $(call perlmod/host/Compile,,)
43 endef
44
45 define Host/Install
46 $(call perlmod/host/Install,$(1),)
47 endef
48
49 define Build/Configure
50 $(call perlmod/Configure,,)
51 endef
52
53 define Build/Compile
54 $(call perlmod/Compile,,)
55 endef
56
57 define Package/perl-parse-yapp/install
58 $(call perlmod/Install,$(1),Parse auto/Parse)
59 endef
60
61
62 $(eval $(call BuildPackage,perl-parse-yapp))
63 $(eval $(call HostBuild))