noddos: Noddos v0.5.0 with mDNS / DNS-SD support
[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.76
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_URL:=http://www.cpan.org/authors/id/I/IN/INGY
15 PKG_SOURCE:=Inline-C-$(PKG_VERSION).tar.gz
16 PKG_MD5SUM:=c0fbfdd058075c9271a1384c822c9a87
17
18 PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl
19 PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
20
21 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/Inline-C-$(PKG_VERSION)
22 HOST_BUILD_DEPENDS:=perl/host perl-inline/host perl-parse-recdescent/host perl-file-sharedir-install/host
23 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Inline-C-$(PKG_VERSION)
24 PKG_BUILD_DEPENDS:=perl-inline/host perl-parse-recdescent/host perl-file-sharedir-install/host
25
26 include $(INCLUDE_DIR)/package.mk
27 include $(INCLUDE_DIR)/host-build.mk
28 include ../perl/perlmod.mk
29
30 define Package/perl-inline-c
31 SUBMENU:=Perl
32 SECTION:=lang
33 CATEGORY:=Languages
34 TITLE:=C Language Support for Inline
35 URL:=http://search.cpan.org/dist/Inline-C/
36 DEPENDS:=perl +perl-inline +perl-parse-recdescent +perlbase-config +perlbase-cwd +perlbase-data +perlbase-essential +perlbase-extutils +perlbase-file +perlbase-if
37 endef
38
39 define Host/Configure
40 $(call perlmod/host/Configure,,,)
41 endef
42
43 define Host/Compile
44 $(call perlmod/host/Compile,,)
45 endef
46
47 define Host/Install
48 $(call perlmod/host/Install,$(1),)
49 endef
50
51 define Build/Configure
52 $(call perlmod/Configure,,)
53 endef
54
55 define Build/Compile
56 $(call perlmod/Compile,,)
57 endef
58
59 define Package/perl-inline-c/install
60 $(call perlmod/Install,$(1),Inline auto/Inline)
61 endef
62
63
64 $(eval $(call BuildPackage,perl-inline-c))
65 $(eval $(call HostBuild))