|
@ -0,0 +1,48 @@ |
|
|
|
|
|
#
|
|
|
|
|
|
# Copyright (C) 2015 OpenWrt.org
|
|
|
|
|
|
#
|
|
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
|
|
|
PKG_NAME:=perl-sub-uplevel |
|
|
|
|
|
PKG_VERSION:=0.25 |
|
|
|
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
|
|
|
PKG_SOURCE_URL:=http://www.cpan.org/authors/id/D/DA/DAGOLDEN |
|
|
|
|
|
PKG_SOURCE:=Sub-Uplevel-$(PKG_VERSION).tar.gz |
|
|
|
|
|
PKG_MD5SUM:=5d0752dbfa94d0c91b25a264f47f5675 |
|
|
|
|
|
|
|
|
|
|
|
PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl |
|
|
|
|
|
PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net> |
|
|
|
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Sub-Uplevel-$(PKG_VERSION) |
|
|
|
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
|
|
include ../perl/perlmod.mk |
|
|
|
|
|
|
|
|
|
|
|
define Package/perl-sub-uplevel |
|
|
|
|
|
SUBMENU:=Perl |
|
|
|
|
|
SECTION:=lang |
|
|
|
|
|
CATEGORY:=Languages |
|
|
|
|
|
TITLE:=Apparently run a function in a higher stack frame |
|
|
|
|
|
URL:=http://search.cpan.org/dist/Sub-Uplevel/ |
|
|
|
|
|
DEPENDS:=perl +perlbase-essential |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Build/Configure |
|
|
|
|
|
$(call perlmod/Configure,,) |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Build/Compile |
|
|
|
|
|
$(call perlmod/Compile,,) |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/perl-sub-uplevel/install |
|
|
|
|
|
$(call perlmod/Install,$(1),Sub auto/Sub) |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,perl-sub-uplevel)) |