libgd: update to 2.3.3
[feed/packages.git] / lang / perl-inline-c / 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-c
11 PKG_VERSION:=0.81
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=Inline-C-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://www.cpan.org/authors/id/T/TI/TINITA
16 PKG_HASH:=f185258d9050d7f79b4f00f12625cc469c2f700ff62d3e831cb18d80d2c87aac
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 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/Inline-C-$(PKG_VERSION)
23 HOST_BUILD_DEPENDS:=perl/host perl-inline/host perl-parse-recdescent/host perl-file-sharedir-install/host
24 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Inline-C-$(PKG_VERSION)
25 PKG_BUILD_DEPENDS:=perl-inline/host perl-parse-recdescent/host perl-file-sharedir-install/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-c
32 SUBMENU:=Perl
33 SECTION:=lang
34 CATEGORY:=Languages
35 TITLE:=C Language Support for Inline
36 URL:=https://search.cpan.org/dist/Inline-C/
37 DEPENDS:=perl +perl-inline +perl-parse-recdescent +perlbase-config +perlbase-cwd +perlbase-data +perlbase-essential +perlbase-file +perlbase-if
38 endef
39
40 define Host/Configure
41 $(call perlmod/host/Configure,,,)
42 endef
43
44 define Host/Compile
45 $(call perlmod/host/Compile,,)
46 endef
47
48 define Host/Install
49 $(call perlmod/host/Install,$(1),)
50 endef
51
52 define Build/Configure
53 $(call perlmod/Configure,,)
54 endef
55
56 define Build/Compile
57 $(call perlmod/Compile,,)
58 endef
59
60 define Package/perl-inline-c/install
61 $(call perlmod/Install,$(1),Inline auto/Inline)
62 endef
63
64
65 $(eval $(call BuildPackage,perl-inline-c))
66 $(eval $(call HostBuild))