perl-file-sharedir-install: New package
Signed-off-by: Marcel Denia <naoir@gmx.net>
This commit is contained in:
parent
3d673e73b8
commit
65d47a50db
1 changed files with 64 additions and 0 deletions
64
lang/perl-file-sharedir-install/Makefile
Normal file
64
lang/perl-file-sharedir-install/Makefile
Normal file
|
@ -0,0 +1,64 @@
|
|||
#
|
||||
# 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-file-sharedir-install
|
||||
PKG_VERSION:=0.10
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_URL:=http://www.cpan.org/authors/id/G/GW/GWYN
|
||||
PKG_SOURCE:=File-ShareDir-Install-$(PKG_VERSION).tar.gz
|
||||
PKG_MD5SUM:=37fb7fa72ce7184516dd022aba62f524
|
||||
|
||||
PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl
|
||||
PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
|
||||
|
||||
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/File-ShareDir-Install-$(PKG_VERSION)
|
||||
HOST_BUILD_DEPENDS:=perl/host
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/File-ShareDir-Install-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
include ../perl/perlmod.mk
|
||||
|
||||
define Package/perl-file-sharedir-install
|
||||
SUBMENU:=Perl
|
||||
SECTION:=lang
|
||||
CATEGORY:=Languages
|
||||
TITLE:=Install read-only data files
|
||||
URL:=http://search.cpan.org/dist/File-ShareDir-Install/
|
||||
DEPENDS:=perl +perlbase-essential +perlbase-extutils +perlbase-file +perlbase-io
|
||||
endef
|
||||
|
||||
define Host/Configure
|
||||
$(call perlmod/host/Configure,,,)
|
||||
endef
|
||||
|
||||
define Host/Compile
|
||||
$(call perlmod/host/Compile,,)
|
||||
endef
|
||||
|
||||
define Host/Install
|
||||
$(call perlmod/host/Install,$(1),)
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call perlmod/Configure,,)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call perlmod/Compile,,)
|
||||
endef
|
||||
|
||||
define Package/perl-file-sharedir-install/install
|
||||
$(call perlmod/Install,$(1),File auto/File)
|
||||
endef
|
||||
|
||||
|
||||
$(eval $(call BuildPackage,perl-file-sharedir-install))
|
||||
$(eval $(call HostBuild))
|
Loading…
Reference in a new issue