Browse Source

perl-sub-uplevel: New package

Signed-off-by: Marcel Denia <naoir@gmx.net>
Marcel Denia 9 years ago
parent
commit
ef6569e16d
1 changed files with 48 additions and 0 deletions
  1. 48
    0
      lang/perl-sub-uplevel/Makefile

+ 48
- 0
lang/perl-sub-uplevel/Makefile View File

@@ -0,0 +1,48 @@
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-sub-uplevel
11
+PKG_VERSION:=0.25
12
+PKG_RELEASE:=1
13
+
14
+PKG_SOURCE_URL:=http://www.cpan.org/authors/id/D/DA/DAGOLDEN
15
+PKG_SOURCE:=Sub-Uplevel-$(PKG_VERSION).tar.gz
16
+PKG_MD5SUM:=5d0752dbfa94d0c91b25a264f47f5675
17
+
18
+PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl
19
+PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
20
+
21
+PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Sub-Uplevel-$(PKG_VERSION)
22
+
23
+include $(INCLUDE_DIR)/package.mk
24
+include ../perl/perlmod.mk
25
+
26
+define Package/perl-sub-uplevel
27
+  SUBMENU:=Perl
28
+  SECTION:=lang
29
+  CATEGORY:=Languages
30
+  TITLE:=Apparently run a function in a higher stack frame
31
+  URL:=http://search.cpan.org/dist/Sub-Uplevel/
32
+  DEPENDS:=perl +perlbase-essential
33
+endef
34
+
35
+define Build/Configure
36
+        $(call perlmod/Configure,,)
37
+endef
38
+
39
+define Build/Compile
40
+        $(call perlmod/Compile,,)
41
+endef
42
+
43
+define Package/perl-sub-uplevel/install
44
+        $(call perlmod/Install,$(1),Sub auto/Sub)
45
+endef
46
+
47
+
48
+$(eval $(call BuildPackage,perl-sub-uplevel))