summaryrefslogtreecommitdiffstats
path: root/lang/perl/perl-class-inspector/Makefile
blob: 035ce59111ced5540864f7ef1a5a008ffb84bf01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
include $(TOPDIR)/rules.mk

PKG_NAME:=perl-class-inspector
PKG_VERSION:=1.36
PKG_RELEASE:=1

PKG_SOURCE_NAME:=Class-Inspector
PKG_SOURCE_URL:=https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/
PKG_SOURCE:=$(PKG_SOURCE_NAME)-$(PKG_VERSION).tar.gz
PKG_HASH:=cc295d23a472687c24489d58226ead23b9fdc2588e522f0b5f0747741700694e
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/$(PKG_SOURCE_NAME)-$(PKG_VERSION)

PKG_MAINTAINER:=Jens Wagner <jens@wagner2013.de>
PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
PKG_LICENSE_FILES:=LICENSE

include $(INCLUDE_DIR)/package.mk
include ../perlmod.mk

define Package/perl-class-inspector
  SUBMENU:=Perl
  SECTION:=lang
  CATEGORY:=Languages
  TITLE:=Get information about a class and its structure
  URL:=https://metacpan.org/pod/Class::Inspector
  DEPENDS:=perl +perlbase-essential +perlbase-file +perlbase-base
endef

define Package/perl-class-inspector/description
  Class::Inspector allows you to get information about a loaded class.
  While most or all of this information can be found in other ways,
  Class::Inspector provides an easier interface to this information.
endef

define Build/Configure
	$(call perlmod/Configure,,)
endef

define Build/Compile
	$(call perlmod/Compile,,)
endef

define Package/perl-class-inspector/install
	$(call perlmod/Install,$(1),Class)
endef


$(eval $(call BuildPackage,perl-class-inspector))