openthread-br: fix actually building
[feed/packages.git] / lang / perl-inline / 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-inline
11 PKG_VERSION:=0.86
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=Inline-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://cpan.metacpan.org/authors/id/I/IN/INGY
16 PKG_HASH:=510a7de2d011b0db80b0874e8c0f7390010991000ae135cff7474df1e6d51e3a
17
18 PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
19 PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
20 PKG_LICENSE_FILES:=LICENSE
21
22 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Inline-$(PKG_VERSION)
23 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/Inline-$(PKG_VERSION)
24
25 HOST_BUILD_DEPENDS:=perl/host
26
27 include $(INCLUDE_DIR)/package.mk
28 include $(INCLUDE_DIR)/host-build.mk
29 include ../perl/perlmod.mk
30
31 define Package/perl-inline
32 SUBMENU:=Perl
33 SECTION:=lang
34 CATEGORY:=Languages
35 TITLE:=Write subroutines in other languages
36 URL:=https://search.cpan.org/dist/Inline/
37 DEPENDS:=perl +perlbase-base +perlbase-config +perlbase-cwd +perlbase-digest +perlbase-essential +perlbase-fcntl +perlbase-file
38 endef
39
40 define Build/Configure
41 $(call perlmod/Configure,,)
42 endef
43
44 define Build/Compile
45 $(call perlmod/Compile,,)
46 endef
47
48 define Package/perl-inline/install
49 $(call perlmod/Install,$(1),Inline.pm Inline auto/Inline)
50 endef
51
52 define Host/Configure
53 $(call perlmod/host/Configure,,,)
54 endef
55
56 define Host/Compile
57 $(call perlmod/host/Compile,,)
58 endef
59
60 define Host/Install
61 $(call perlmod/host/Install,$(1),)
62 endef
63
64
65 $(eval $(call BuildPackage,perl-inline))
66 $(eval $(call HostBuild))